procmail
[Top] [All Lists]

Buggy recipe (simple)

2007-07-19 18:24:46
Hi folks,

This is the part of my recipe which isn't working (or it probably is but 
I've written it wrong).  RCPT_WHITELIST is a text file with one mailbox 
per line, for those mailboxes I don't want to subject to some spam 
checks.  In this instance, mailbox "spuddly" is in $RCPT_WHITELIST, but 
the recipe *sometimes* continues into the actions when it's supposed to 
skip.  Unfortunately I didn't have Verbose logging enabled, but all the 
tests I'm doing all succeed - it's just the occasional time it fails to 
work.  Any ideas?

Many thanks,
Steve

:0
* $     ^X-Original-To:.*\/[^(_at_)$WS]+
*   !   MATCH ?? (^abc|^hello$)
* $ !   grep -i -F -x $MATCH $RCPT_WHITELIST
{
        some stuff in here
        which catches spam
}
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>