Kill viral attachments

Since bloody Mozilla Thunderbird seems to (a) be screwing up on me something vicious (if you sent me a mail and were expecting a response, you might want to send it again) and (b) won’t let you filter messages on body content (why? why? why?), I’ve added a .forward file that looks like this: # Exim filter if $message_body matches “name=”[^”]”” or $message_body matches “name=”[^”]+.scr”” or $message_body matches “name=”[^”]+.exe”” or $message_body matches “name=”[^”]+.pif”” then save /home/aquarius/mail/Dodgy-Attachments endif That should kill off most of the virus mail I get.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)