# Adds procmail logging to ~/procmail folder; change verbose to no after # you complete troubleshooting. PMDIR=$HOME/procmail LOGFILE=$PMDIR/log VERBOSE=yes MAILDIR=$HOME/mail #If you enter this, you do NOT need mail/folder when #naming the destination mail folder, only name the #folder itself when setting your mail for your rule. # Forwards messages through SpamAssassin :0fw # * < 256000 # Does not send messages > 256K through SA | /usr/bin/spamc # Forwards messages which are spam into caughtspam folder # :0: # * ^X-Spam-Status: Yes # caughtspam # If SpamAssassin spamlevel >= 10, delete the message :0: * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\* /dev/null # I put this right before the spam gets placed where its going to # go. It is already marked as read, so I don't get notification # for spams that actually end up in a mailbox for checking. # :0fw # * ^X-Spam-Status: Yes # | formail -I "Status: R" # If SpamAssassin spamlevel >= 7, move to spam folder :0: * ^X-Spam-Level: \*\*\*\*\*\*\* mail/spam # If SpamAssassin spamlevel >= 4.5, label as SPAM # done globally by SpamAssassin in /etc/mail/spamassassin/local.cf # Place emails from root@ into postmaster :0: * ^From: root@host.example.com mail/postmaster :0: * ^From: root@host2.example.com mail/postmaster # Mail from TriLUG mailing list into trilug folder # :0: # * ^List-Post: # mail/trilug