procmail
[Top] [All Lists]

'a' flag vs 'e' flag vs '?' condition

2001-11-14 22:24:46

Is the 'a' flag really the opposite of the 'e' flag?  Based on my
interpretation of the procmailrc man page, I have:

 :0 HcW
 *      ^\/Subject:.*
 | grep '^Subject' | head -1 | egrep -vq '^Subject:.*(.)\1\1\1\1\1[^\1]+'

 :0 efwh
 | formail -A "X-spamtrap: $MATCH"

But is this exactly the same as using:

 :0 HcW
 *      ^\/Subject:.*
 | egrep -q '^Subject:.*(.)\1\1\1\1\1[^\1]+'

 :0 afwh
 | formail -A "X-spamtrap: $MATCH"

And for that matter, could I do the same thing with:

 :0 HfW
 * ?    egrep -q '^Subject:.*(.)\1\1\1\1\1[^\1]+'
 | formail -A "X-spamtrap: $MATCH"

?

Thanks.  :)

-- 
  Paul Chvostek                                             
<paul(_at_)it(_dot_)ca>
  Operations / Development / Abuse / Whatever       vox: +1 416 598-0000
  IT Canada                                            http://www.it.ca/

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