# # .procmailrc for # # Martin Adolfsson # http://netilium.org/~mad/ # # Note: ${USERINBOX} and ${USERHOME} are defined in the system-wide # configuration file and uses site-specific commands to deliver # the e-mail into the local mailstore. # LOGFILE=${USERHOME}/procmail.log # # First filter the mail through SpamAssassin. # :0fw | /usr/pkg/bin/spamc -d 10.20.1.43 -u mad -t 160 # # First a rule to attempt to deal with SPAM. # The good (and quite surprising) thing is # that these rules manage to effectively prune # around 90% of all the spam I receieve. # # The EXITCODE statement returns the favour # to the spammers by bouncing each mail classified # as SPAM. # :0 * ^From.*@swordfishmedia.biz|\ ^From.*@irresistableoffer.com|\ ^From.*@advertisingbymail.com|\ ^From.*@bestdailyoffer.com|\ ^From.*@.*rb[0-9][0-9]ex.com|\ ^From.*@emailcompass.com|\ ^From.*@tonsoffreebies.com|\ ^From.*@.*freebiegazette.com|\ ^From.*@.*topofferz.*|\ ^Message-Id.*rb[0-9][0-9]ex.com|\ ^Message-Id.*exgon.com|\ ^Message-Id.*daily-email.com|\ ^Message-Id.*boxofficemail.com|\ ^Message-Id.*glasstoptime.net|\ ^Message-Id.*mydailyonline.com|\ ^Message-Id.*dailyemailer.com|\ ^Message-Id.*@swordfishmedia.biz|\ ^Message-Id.*@dailye-mail.com|\ ^Message-Id.*123emailing.com|\ ^From.*@.*idg.se|\ ^X-Spam-Level: \*\*\*\*\*\* { :0 c | ${USERINBOX}.SPAM EXITCODE=67 HOST= } # # Below are a few rules to deal with some of the # mailing lists that I'm on. # :0 * ^List-Id: The Sun Managers Mailing List | ${USERINBOX}.Mailinglists."Sun\ Managers" :0 * ^To:.*gossip@mendosus.org.* | ${USERINBOX}.Mailinglists.Mendosus :0 * ^List-Id: Linux 802.1Q VLAN | ${USERINBOX}.Mailinglists.VLAN :0 * ^To:.*tru64-unix-managers@ornl.gov.* | ${USERINBOX}.Mailinglists."Tru64\ Managers" :0 * ^To:.*openvms-managers@openvms.org.* | ${USERINBOX}.Mailinglists."OpenVMS\ Managers" :0 * ^X-list: suncommunity | ${USERINBOX}.Mailinglists."Blade\ 100" :0 * ^List-Id: | ${USERINBOX}.Mailinglists.Deb-Sec-Ann :0 * ^To:.*krikkit-fagdevel@algonet.se.* | ${USERINBOX}.Mailinglists.Fagdevel