Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2003 22:47:31 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Sendmail: Deleting file attachments?
Message-ID:  <20030306224731.GA43875@happy-idiot-talk.infracaninophi>
In-Reply-To: <3E67AB9E.8080609@netscape.net>
References:  <3E67AB9E.8080609@netscape.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 06, 2003 at 03:12:14PM -0500, Lucas Holt wrote:
> Is there a way to remove file attachments from messages selectively? 
> Specifically I want to delete .exe, .scr, and .bat files as they enter 
> the mail server.  
> 
> I am using sendmail-sasl from the freebsd ports collection.  I also have 
> procmail installed.
> 
> I looked at mime-defang, but it won't compile correctly. (ports or by 
> source)

You might find this useful:

    http://www.impsec.org/email-tools/procmail-security.html

See the sections on poisoned executables and stripped executables in
the configuration page.

	Cheers,

	Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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