Batemail is a Perl script that you could use between your MTA (e.g. Sendmail) and your local mailer (e.g. Procmail) to remove potentially nasty attachments from email messages.
Basically, it takes input on STDIN, searches for (and possibly removes) MIME attachments with a given filename extension, and pipes the output to the local mailer.
Specifically, what distinguishes a taboo attachment from an acceptable one is that the filename ends with one of several "blacklisted" extensions (e.g. EXE, VBS, etc.).
Top 4 Download periodically updates information of Batemail 0.8.7 script from the developer, but some information may be slightly out-of-date.
Our script download links are directly from our mirrors or publisher's website. Batemail 0.8.7 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!