# To use this file, save it in the root of your home directory as # .procmailrc and put the following in your .forward (including quotes): # "| /usr/cs/bin/procmail" # # Variable declarations DEFAULT=/var/mail/$LOGNAME MAILDIR=$HOME/mail UMASK=077 # SpamAssassin filtering # For anything the milter (departmental sitewide filter) has declared as spam, # shunt to maybeSpam-high. This short-circuits, so the message is not # re-processed by spamd. :1: * ^X-Spam-Flag: YES* $MAILDIR/maybeSpam-high # Pass the rest off to the spamc client, which can handle personal training # databases and whitelists. Spamc hands the message to the spamd daemon, # which adds the X-Spam-Level header and appends a list of rules that the # message matched to the X-Spam-Status header (good for tracking down the # reason behind false positives). :0fw | /usr/cs/bin/spamc -d spamd # These next rules catch most blatant spam. This needs to be checked every now # and again. People who send from wrongly configured mail relays will end up # here. Catches scores >= 40 :1: ^X-Spam-Level: \*\*\*.* $MAILDIR/maybeSpam-high # Midlevel messages get saved to "maybeSpam-med" for occasional perusal # This will catch scores of 30-39 :1: ^X-Spam-Level: \*\*.* $MAILDIR/maybeSpam-med # Lower scores yet - still probably spam, but worth checking regularly for # false positives. This will catch a score of 20-29 :1: ^X-Spam-Level: \*.* $MAILDIR/maybeSpam-low # These rules are to catch the UVA spam notation # A different scoring system that uses x's instead of stars. :1: ^X-Spam-Level: xxxx.* $MAILDIR/maybeSpam-high # Midlevel messages get saved to "maybeSpam-med" for occasional perusal # This will catch scores of 30-39 :1: ^X-Spam-Level: xx.x $MAILDIR/maybeSpam-med # Lower scores yet - still probably spam, but worth checking regularly for # false positives. This will catch a score of 20-29 :1: ^X-Spam-Level: x.x $MAILDIR/maybeSpam-low # Uncomment the rule below to implement vacation with procmail. # If more than one alias, precede each one with the -a option # Example: | /usr/bin/vacation -a smith -a andrewsmith ahs3j # :0 c # | /usr/bin/vacation -a $ALIAS1 -a $ALIAS2 $LOGNAME # Send the rest off to my Inbox :0: $DEFAULT