procmail
[Top] [All Lists]

Re: (il)logical algebra

2004-03-25 02:49:03
Am Do 25.03.04 um 01:29 CET schrieb Dallman Ross <dman(_at_)nomotek(_dot_)com>:

On Thu, Mar 25, 2004 at 12:56:28AM +0100, Stefan Heinrichsen wrote:

Am Do 25.03.04 um 00:41 CET schrieb Dallman Ross 
<dman(_at_)nomotek(_dot_)com>:

  :0
  * ^X-Blacklist: Yes
  do_something

Otherwise, if X-Blacklist is NOT set, then *only if X-Whitelist
is also unset, do something:

  :0 E  # use the "else" flag if above recipe was nondelivering
  * ! ^X-Whitelist: Yes
  do_something


Well that would work but the do_something is in my case a block of
about 40 lines (some additional spamfilters) which are changed
frequently. So it's not could to have it twice in the procmailrc.

There are many approaches.  
[Some Workarounds]

I tried it and it works for me thanks. But what's if the statement
becomes more complex? My spamfilter is still work in progress and this
is propably not the final statement. I just can't believe that it's not
possible to use such an "or not" statement in a natural way.

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>