# Example procmailrc filters # # We use a maildir here at hcoop.net MAILDIR=$HOME/Maildir DEFAULT=$MAILDIR/ # If you want to keep track of where mail has been delivered, # uncomment this. If enabled, be sure to trim this file once # in a while (using cron is one way), because otherwise it can # grow quite large. It is strongly recommended to use the # path given here, so that the logs gets placed in a writable # location. #LOGFILE=$HOME/.logs/mail/procmail.log # See the manpages `procmailrc' and `procmailex' for explanations # of the syntax involved. # The following 2 rules come before the spam rules because we # want to make sure that email from these people get through. # It's a form of whitelisting. # Stuff from the family :0 * ^From.*(familymember1@msn|familymember2@yahoo) .Family/ # Work-related :0 * ^From.*person@somecollege .Work/ # All mail tagged as spam (eg. with a score higher than the set # threshold) is definitely spam. :0 * ^X-Spam-Status: Yes .Spam.Definitely/ # If it scores 3 or better, it's probably spam. :0 * ^X-Spam-Level: \*\*\* .Spam.Probably/ # The Debian Bug-Tracking System forwards me a copy of each bug report # I send in. Since I don't already have a copy of this report, put it # in my Sent box. :0 * ^From:.*me@hcoop\.net * ^To:.*submit@bugs\.debian\.org .Sent/ # Local mail (error messages and the like) :0 * ^(To:|From).*local\.domain\.org .Local/ # Vending stuff :0 * ^To:.*me(\+|_)vending@domain\.org .Vending/ # School-related :0 * ^To:.*me\+school@domain\.org .School/ # Crap sent to all students :0 * ^(To|Cc):.*[Rr]-[Uu]sers_ .Spam.Ignore/ # Bug reports :0 * ^(From|To|C[c]):.*(bugs\.debian\.org|bugzilla\.) .Bugs/ # LifeReader mailing list :0 * ^(From|To|C[c]):.*liferea-devel@lists .Lists.LifeRea/ # Neki_Fujiyama (Samurai Pizza Cats) list :0 * ^(From|To|C[c]):.*[Nn]eko_[Ff]ujiyama@yahoogroups .Lists.Neko_Fujiyama/ # Hcoop mailing list :0 * ^To:.*users@hcoop .Lists.HCoop/ # InfoWorld newsletters :0 * ^From.*@newsletter\.infoworld .Lists/ # Other lists :0 * ^(From|To|C[c]):.*(@lists\.|@yahoogroups) .Lists/ # Anything I've sent should go to Test :0 * ^From:.*(mwolson@|@mwolson\.org) .Test/