Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2003 13:21:46 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        James Godwin <james@organicwire.net>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Block exe files with Sendmail
Message-ID:  <3EE21F2A.6010807@mac.com>
In-Reply-To: <BB06BD93.5F65%james@organicwire.net>
References:  <BB06BD93.5F65%james@organicwire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
James Godwin wrote:
> Can anyone point me in the direction of a solution, scripts or documentation
> detailing the removal of exe files using sendmail.

Sure.  Please take a look at /usr/ports/mail/mimedefang:

10-sec# cat pkg-descr
MIMEDefang is a program for inspecting and modifying e-mail messages as
they pass through your mail relay. MIMEDefang is written in Perl, and its
filter actions are expressed in Perl, so it's highly flexible. Here are some
things that you can do very easily with MIMEDefang:

     Delete or alter attachments based on file name, contents, results of a
     virus scan, attachment size, etc.

     Replace large attachments with links to a centrally-stored copy to ease
     the burden on POP3 users with slow modem links.

     Add boilerplate text to e-mail messages.

     Customize filter rules based on domain, user-name, relay machine, etc.

     Reject unacceptable messages, where you define what "unacceptable" means.

     Add or delete recipients for a message.

WWW: http://www.mimedefang.org/

- Andrey V. Pevnev
andrey@mgul.ac.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EE21F2A.6010807>