Change \[Possible Spam\] to whatever the pattern in your spam mail subject should be make sure you escape any special characters. To delete a customers spam automatically create a blank file in the customers home directory. This could be handled via CGI script if necessary.
Thanks to John Hardin (JHARDIN located at IMPSEC.ORG) for his assistance in debugging. DELETESPAM_FILENAME="$HOME/.deletemyspam" :0 * ? test -f $DELETESPAM_FILENAME * ^Subject: \[Possible Spam\] .* { LOG="Sending $SUBJ to DEVNULL " :0 /dev/null } You can do something similar to opt a user totally out of your spam filtering. SA_OPTOUT_FILENAME="$HOME/.optout.spamassassin" :0 * ? test ! -f $SA_OPTOUT_FILENAME { :0fw * < 256000 | spamc } Bill Larson Network Administrator Compu-Net Enterprises ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk