Re: Sendmail: Deleting file attachments?

2003-03-06 Thread Edmond Baroud
take a look at http://mailtools.anomy.net/sanitizer.html
u need to have perl and some additional CPAN modules on ur system
MIME::Base64
MIME::QuotedPrint

Ed.

Quoting Lucas Holt ([EMAIL PROTECTED]):
 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)
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Edmond Baroud 
UNIX Systems Admin mailto:[EMAIL PROTECTED]
Fingerprint  140F 5FD5 3FDD 45D9 226D  9602 8C3D EAFB 4E19 BEF9
UNIX is very user friendly, it's just picky about who its friends are.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: Sendmail: Deleting file attachments?

2003-03-06 Thread Matthew Seaman
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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message