.gif spam

The .gif attachment spam has reached an absurd level – spam messages embedded in gif images in otherwise blank email messages. Often animated gifs. I’m getting *hundreds* of them a day.

So …

In /etc/postfix/mime_header_checks.regexp I’ve added:

/(file)?name=”?.*.(gif|GIF)”?/ REJECT Sorry, I can no longer accept gif file attachments, due to the unscrupulous folks embedding spam in images.

And then in /etc/postfix/main.cf I have:

mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp

I appear to be dropping one of these every 3-5 seconds.

I really hate spammers.