Mark's Procmail Rules

I use procmail to rid myself of spam and file my mailing list mail away. If you're running amd on your *nix box, you can get my latest .procmailrc file.

I fetch my mail from various POP3 servers using fetchmail and store my mail locally on my laptop. I use mutt to read my mail, which is a non-graphical email client. It's very fast.

I have several peripheral programs as well.

  1. I use formail to remove duplicate messages with the -D option.
  2. bin/spamcheck is used to by my .procmailrc to determine if the mail is from an open relay. It uses both a list of known relays in .spammers and the osirusoft.com ORDB (open relay database). [I don't use this any more]
  3. bin/spam is used to add a message sender to the list of known spammers in ~/.spammers. Just pipe the message into this program from your mailer.
  4. bin/whitelist is used to check to see if the sender is my .mutt.aliases or a list of other addresses I trust kept in .whitelist. If the sender is not in these lists, the message goes through the spam checks.
  5. bin/atw is a companion to atw. You pipe a message to it to add the sender to your .whitelist file.
  6. bin/blacklist and bin/atb are the blacklist equivalents
  7. ~/.somamail.awk is used to strip those annoying Soma legal footers and to shorten the subject lines of notifications from the BitKeeper daemon.
  8. bin/hotmail is used to convert html mail to text mail so I can frickin' read it without a html viewer.
  9. Bogofilter is used by my .procmailrc to filter for spam destined for my inbox. Word has it that it may not be the best thing to run your list mail through. I only bogofilter mail that is heading for my inbox. I also have two delete keys in my mutt setup, one for spam and one for non spam. I periodically go through my spam folder to add those messages to the bogofilter spam database and save the spam in an oldspam folder. See my .muttrc for the macro definitions for my delete keys. I delete proper mail with the normal 'd' key which is now a macro which teaches bogofilter that the message was not spam as well as deleting it. I delete spam with the 'D' key. I still have ctrl-d set up as subthread-delete which I can use to delete mail which I don't want to teach bogofilter about. I also use it for deleting mail in large folders as it doesn't incur the bogofilter teaching delay (about 100ms per message) which isn't noticed for interactive mail, but is for clearing out 200 messages from by BK mail folder.
  10. If my spam folder is really full and I don't want to delete it by hand, I run the junkspam script to automate it.
  11. Every month this script reports what came in the mail over the last month

 frickin' computers Mark Frazer -- mjfrazer@gmail.com  frickin' computers