procmail
[Top] [All Lists]

Re: Procmail recipe

2006-11-27 08:33:23


Carlos Eduardo R. L. de Miranda schrieb:

Hello all,

Please help to fix the recipe below. Thank you in advance.

Carlos

DROPPRIVS=yes

MAILDIR=$HOME/Maildir

LOGFILE=/var/log/procmailrc.log

LOGABSTRACT=all

VERBOSE=yes

COMSAT=no

:0

* !^To:.*(mydomain\.com\.br) # IF MSG NOT SENT TO OUR DOMAIN > 
/dev/null or

* !^Cc:.*(mydomain\.com\.br) # IF NOT SENT TO OUR DOMAIN > /dev/null or

* ^Subject:.*(wrote\:)* # IF THE SUBJECT CONTAINS THE WORD “wrote:” > 
/dev/null or

* ^Subject:.*(1\ 2\ 3)* # IF THE SUBJECT CONSTAIS THE PHRASE “1 2 3” > 
/dev/null or

* ^X-mydomain-MailScanner-SpamScore:\ sssss # IF THE MSG SCORES 5s > 
/dev/null

{

:0

/dev/null/

}




First please post in plain text only

comments on Condition Lines in the recipe are not allowed

mydomain is a real domain and a bad example

the conditions are "and" conditions
so your recipe will only work if all conditions are true
what will not be the case i guess

Matthias



____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>