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="[^"]+\.zip"" 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.

One Response to “Kill viral attachments”

  1. I was already using SpamAssassin and now I’ve started using ClamAssassin and ClamAV

    This combination, used through Procmail, nsures 99.9% of junk is junked.

    Schwuk

Leave a Reply

OpenID is a decentralised authentication system. If you use LiveJournal or Vox you already have an OpenID; just use the URL of your homepage there. See also how to get yourself an OpenID.