batemail is a Perl script that you slip between your MTA (e.g. Sendmail) and your local mailer (e.g. Procmail) to strip potentially nasty attachments from email messages. It takes input on STDIN, removes executable MIME attachments, and gives the result to the local mailer. The criteria for a taboo attachment are that the filename ends in one of several "blacklisted" extensions (EXE, VBS, etc.).