procmail
[Top] [All Lists]

Re: Consider LOGFILE and Subject in same recipe

2004-03-18 15:13:00
I suggested to Christopher,

A couple of ways:

 :0
 * LOGFILE ?? account1
 * ^Subject:.*(bunch of subject items)
 { } # this is the procmail no-op
 :0E
 { Do stuff.. }

Isn't this an AND type situation though?  It will look to see if the
LOGFILE is account 1 AND if the subject is a bunch of items right?

Yes. And if both of those are true, then that [according to your first post] is when you want to skip "Do stuff." You do stuff if the subject DOESN'T have "(bunch of items)" or if the logfile ISN'T account1. The only time you don't do stuff is when the subject has that pattern AND the logfile IS account1.





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