procmail
[Top] [All Lists]

Re: Can These 2 Recipes Be Or'd?

2004-05-09 19:10:26
Marvin R. Pierce asked,

Wondering it these can be combined into a single recipe?

:0:
* 
^(To|Cc|Bcc).*(xxxxxxx(_at_)teebookglobal(_dot_)com|xxxxxxx(_at_)303Sport(_dot_)com)
/dev/null

:0:
* ^Received:.*boxer\.([a-z0-9_-]+\.)?com\.au
spam/

Not being willing to make the same assumption that Dallman did, I'm going to reply this way:

No. A recipe can have only one action. You have two different actions there, so you can't possibly get them out of a single recipe.

I do agree with him that you should get rid of those second colons, since neither of those actions warrants a local lockfile.


_______________________________________________
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>