procmail
[Top] [All Lists]

Re: Recipe not working

2001-02-01 14:56:08
On  1 Feb, Forrest Aldrich wrote:
| [...]
| # Why doesn't this work?  I've tried variants of this, and still nothing.
| #
| # System Logs
| :0
| * ^Subject:.*system.*check
| * ^Subject:.*security.* output
| * ^Subject:.*run.*output
| SystemLogs
| 
| [...]

Procmail conditions are ANDed together not ORed. A message would have
to match all three of those conditions to end up in the SystemLogs file.
You want something like:

* Subject:.*(system.*check|(security|run).*output)

Although those conditions are a little loose for my tastes, that's what
I think you're trying to accomplish.

Don Hammond



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