On 3 May 2002, Ken Causey wrote: > Thanks again Ed. I had to modify the script slightly to get it to work > with my procmail (procmail v3.22 2001/09/10): > > # Test for nospamcheck > :0 > * ? test -f $HOME/.nospamcheck > { > #if nospamcheck exists then deliver normally > :0: > $ORGMAIL > } > > #Filter message thru SA > :0fw > | /usr/bin/spamc -u $LOGNAME > > #Deliver message > :0: > $ORGMAIL
Normally one would not put delivering recipes into /etc/procmailrc -- it prevents individual users' .procmailrc files from being processed. Instead you want to fall off the end of /etc/procmailrc without doing any delivery at all, e.g. like this: ---------- # Test for nospamcheck :0 * ! ? test -f $HOME/.nospamcheck { # Filter message thru SA :0fw | /usr/bin/spamc -u $LOGNAME } # Normal delivery proceeds via user's .procmailrc ... ---------- If for some reason you DO want to forcibly deliver from /etc/procmailrc, you should deliver to $DEFAULT, not to $MAIL or $ORGMAIL. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk