procmail
[Top] [All Lists]

Re: Problem with the From part of my recipe - FIXED

2003-09-10 17:32:15
:0            #Dump Spamassassin flagged Spam for bounces
* ^X-Spam-Status: Yes
* ^From:.*(postmaster|DAEMON|Mail Delivery|mail marshal)
* ^Subject:.*(postmaster|Undeliverable|POSTMASTER|de estado .....etc
/dev/null



All,

I figured out my mistake.  I was trying to do an "or" not an "and".  So I
see why the above failed as the From matched but the Subject didn't.  I
remedied this by doing:

:0
* ^X-Spam-Status: Yes
* ^From:.*(postmaster|DAEMON|Mail Delivery|mail marshal)
/dev/null

:0
* ^X-Spam-Status: Yes
* ^Subject:.*(postmaster|could not be delivered|Undeliverable|Delivery
problems*|POSTMASTER|de estado de entrega|Mensagem automatica|DSN:
failed|undelivered Mail|failure delivery|returning to sender|user
unknown|Delivery notification|Unable to process your message|Service
unavailable|Delivery status notification|Returned mail|Mail delivery|failure
notice|Delivery failure)
/dev/null


Sorry to bother,

Bfons


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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