Spamcop and mutt
Spamcop isn’t a new or web2.0′ish website, but I’m always amazed that a lot of geeks haven’t heard of it before, so I decided to post a little something on Spamcop and how to effectively set it up with mutt (yeah, that geeky mail client).
Spamcop is a website that can help you report spam. Simply forward/bounce emails to a special mail address. After they have received the message, their software will determine where the email came from and who should be contacted. You can simply look through their “investigation” and if all is ok, report the spam. Why should you do this, instead of simply ignoring spam? The main reason, of course, is to get spammers disconnected from whatever source they’re using. But besides that, Spamcop is running a rather popular DNSBL (DNS BlackBlock List). This may even be used by your mail provider!
Tracing headers and finding out the source of the spam can be rather dull work, especially if you receive a lot of spam mails. So why not outsource that process to Spamcop? The beauty is that they also trace the spamvertized URLs and the responsible people for that will also be included in the report.
To make it as easy as possible, I’ve used some macros in mutt. First of all, sign up with Spamcop to get your submit mail address. Then grab the perl script and put it anywhere on your system (put the submit mail address in there). After that, simply add this line to your “.muttrc”:
macro index 'S' "<tag-prefix><pipe-entry>/path/reporter.pl\n<tag-prefix><delete-message>"
Now, when you receive a spam message, simply select it in mutt and press SHIFT + ‘S’. The message will be forwarded to Spamcop and you’ll delete it straight away. When Spamcop finishes processing the mail, they’ll inform you by mail and give you a link with all the details. Go there (or use WWW::Mechanize::SpamCop what I personally do not recommend) and check the results. If you’re happy with the results, submit the form and you’re done. You’ve just helped the world to become a better, spam-free place.
Do you, in any way, already contribute to spam-fighting?
