batemail

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.).

Tags Communications Email Filters
Licenses GPL
Operating Systems POSIX
Implementation Perl

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  10 Sep 2002 13:42
  • Rrelease-after

Changes: This release contains a minor bugfix that corrects situations in which the MTA passes null arguments to the mailer. This (perfectly legal behavior) was causing user mail to be delivered to root under certain circumstances.

  • Rrelease-mid
  •  27 Aug 2002 14:54
  • Rrelease-after

Changes: A couple potential security holes have been cleaned up.

  • Rrelease-mid
  •  26 Mar 2002 12:11
  • Rrelease-after

Changes: The most important change in this release is smarter handling of quote characters around the attachment file name. This has the effect of reducing the number of attachments that incorrectly "slip through".

  • Rrelease-mid
  •  25 Oct 2001 01:15
  • Rrelease-after

Changes: batemail now has the ability to save blocked attachments. I/O has been improved - the output is now piped directly to the local mailer (no more tempfile). Some new documentation has been added on setting up outbound filtering (with Sendmail), and also on installing batemail using Sendmail m4 macros. The default location for certain files has been changed.

  • Rrelease-mid
  •  16 Aug 2001 20:32
  • Rrelease-after

Changes: This release marks the project's official transition from "alpha" status to "beta". There has been a general clean-up performed on the source code. Logging has also been improved to provide both more detail and finer control over logging verbosity, and the blocked filename is reported in the notice to the recipient.

0db07b0aef1661e5ca9afe0172103c44_thumb

Project Spotlight

TuxShop

A POS and shop management application.

No-screenshot

Project Spotlight

libCVD

A computer vision, image, and video processing library.