procmail
[Top] [All Lists]

(il)logical algebra

2004-03-24 16:37:25
Hello,

sorry for my bad English.

For spamfiltering I set the header "X-To-Whitelist" and "X-Blacklist". I
want a mail to be filterd if: both headers are yes, none of them or only
X-Blacklist.

So it would be like
  A | (A & B) | (!A & !B)
= A | (!A & !B) 
= A | !B

So I use the rule
* ^X-Blacklist: Yes | !^X-To-Whitelist: Yes

If I now receive a mail containing none of this both headers I get:
No match on "^X-Blacklist: Yes | !^X-To-Whitelist: Yes"

where is the mistake?

mfg
stefan

-- 
begin  LOVE-LETTER-FOR-YOU.txt.vbs end
Gegen Nichtstandardkonforme Software!
http://piology.org/ILOVEYOU-Signature-FAQ.html

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