procmail
[Top] [All Lists]

spamchecking and multiple bypass lists

1997-07-04 09:09:00

I've got 4 lists which I use to sort mail, and I want to use them to bypass  
my spam checking RC, and this works:

:0
* ! ? $FGREP -i ${REPLYTO}  ${PROCDIR}/spambypass.txt
* ! ? $FGREP -i ${REPLYTO}  ${PROCDIR}/known-users/NeXT-Users.txt
* ! ? $FGREP -i ${REPLYTO}  ${PROCDIR}/known-users/zsh-users.txt
* ! ? $FGREP -i ${REPLYTO}  ${PROCDIR}/known-users/peak-users.txt
{ INCLUDERC=$PROCDIR/rcfiles/spam-check.rc }

However, I want to have an 'else' for the above, ie if they are in any of  
those lists, then do this:

:0E
| $FORMAIL -I"X-SpamChecker: PASSED" -I"X-SpamNote: ByPassed"


But the 'else' part isn't being processed, so my guess is I'm doing  
something fundamentally wrong here....

TjL

ps -- Hebrew started as of 2 July, and ends on 22 August, so
please understand if responses are slow.  I am taking a 2
semester class in 8 weeks for 6 credits

--
TjL <luomat(_at_)peak(_dot_)org>

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