# 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 using department milter scores. # Uncomment this rule if you want to send messages with the highest scores # into the great bit bucket in the sky. A message that scores 80 or above is # usually 99.9% spam #:1: #^X-Spam-Level: \*\*\*\*\*\*\*.* #/dev/null # It is recommended to do the sort mail with the milter scores first. This is # resource efficient. # 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 # Occasionally if a message passes through two SA milters, the scoring might be # different. Look for this flag as well. :1: * ^X-Spam-Flag: HIGH* $MAILDIR/maybeSpam-high # User trainable filtering using spamc. This will get the preferences from # ~/.spamassassin . You can set personal blacklists and whitelists in # addition to a user specifical bayseian database. See our SpamAssassin help # page for further instructions. :0fw | /usr/cs/bin/spamc -d spamd.cs.virginia.edu # 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 # 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