| 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 MIME attachments of a specific type and filename, and gives the result to the local mailer. The criteria for a taboo attachment are that it matches Content-Type=Application and the filename ends in one of several "blacklisted" extensions (e.g., EXE, VBS, etc.). |