# Simple procmail filter to block UCE ("spam") articles for pine/elm users # VERBOSE=on MAILDIR=$HOME/mail # Location of your personal Mail folders; # this is usually in your home directory # and will hold any folders updated by # procmail (namely the one indicated in # SPAMFOLDER) DEFAULT=$ORGMAIL # This must be set to something; this is # where unfiltered e-mail will go (ie, # into your system folder) SPAMFOLDER=_blocked # This folder (under MAILDIR) will hold # the articles filtered out (believed to # spam; check this periodically to make # certain it doesn't contain any # legitimate articles). # # To view, use : # # pine -f $HOME/Mail/blocked # -or # elm -f $HOME/Mail/blocked # # You can either delete all the articles # through your mailer, or simply via # # rm $HOME/Mail/blocked # # But check its contents first! # This must be set; used by procmail FORMAIL=/usr/bin/formail # Magic happens here; comment out to # disable UCE tagging # Grab any mail that is destined for my requested mailing lists INCLUDERC=/home/pshuman/mail/.listmail INCLUDERC=/home/pshuman/mail/.spamtag.rc ############################################################################## # Actual filtering occurs here; moves tagged articles into a separate # folder specified by SPAMFOLDER above. # # Don't enable this if you download all your e-mail using POP (includes # Eudora and Netscape); otherwise, you'll never see any of the tagged # articles and it will simply accumulate on the UNIX server (and you'll # never know if legitimate articles are being filtered either). # Filtering should be done on the user end by setting up a filter that # either looks for "[SPAM]" in the Subject: header, or the header line # "X-SPAM:" # # :0 * ^Subject:.*\[SPAM\] $SPAMFOLDER # :0 c * .* |/home/pshuman/notifyme.new