hi Ruud,
Thanks for the recipe below.
How would it appear if i wanted the keywords in a text file instead?
(each keyword on a newline?) - and i include this text file in the
recipe?
thanks!
ernesto
Ruud H.G. van Tol wrote the following on 04/29/2005 02:47 PM:
Ernest Byaruhanga schreef:
My filter should see if the content of all email to john(_at_)example(_dot_)com
contains:
WORD1 or WORD2 or WORD3 or KEYWORD5 or BOB, and then deliver the
good mail to john(_at_)example(_dot_)com(_dot_) Otherwise, the email missing
any of
the above keywords should go to the "spam" mailbox.
:0
* ^TO_\/john(_at_)example\(_dot_)com
{
:0
* B ?? ()\<(WORD[1-3]|KEYWORD5|BOB)\>
!$MATCH
:0E:
spam
}
That won't allways work as wished for.
After Dallman: procmailers do it without words-blacklists.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail