From owner-freebsd-questions  Thu Mar  6 12:29:48 2003
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7F5CA37B401
	for <freebsd-questions@FreeBSD.ORG>; Thu,  6 Mar 2003 12:29:46 -0800 (PST)
Received: from gatekeeper.microcell.ca (gatekeeper.microcell.ca [205.151.8.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 871AE43FAF
	for <freebsd-questions@FreeBSD.ORG>; Thu,  6 Mar 2003 12:29:45 -0800 (PST)
	(envelope-from SoHo@admin.fido.ca)
Received: from mailserv.microcell.ca (mailserv.microcell.ca [10.2.0.87])
	by gatekeeper.microcell.ca (Postfix) with ESMTP
	id D26E416CEF; Thu,  6 Mar 2003 15:29:44 -0500 (EST)
Received: from 127.0.0.1 (localhost [127.0.0.1])
	by mailserv.microcell.ca (Postfix) with SMTP
	id 9299016BD5; Thu,  6 Mar 2003 15:29:44 -0500 (EST)
Received: from lenard.admin.fido.ca (lamus.fido.ca [10.0.1.45])
	by mailserv.microcell.ca (Postfix) with ESMTP
	id 72DF816BD5; Thu,  6 Mar 2003 15:29:43 -0500 (EST)
Received: from magni.microcell.ca (magni.microcell.ca [10.6.22.102])
	by lenard.admin.fido.ca (SMTP_Gateway) with ESMTP
	id 3D39447D3C; Thu,  6 Mar 2003 15:29:43 -0500 (EST)
Received: from magni.microcell.ca (localhost.microcell.ca [127.0.0.1])
	by magni.microcell.ca (8.12.6/8.12.7) with ESMTP id h26KYnfa000600;
	Thu, 6 Mar 2003 15:34:49 -0500 (EST)
	(envelope-from SoHo@admin.fido.ca)
Received: (from ebaroud@localhost)
	by magni.microcell.ca (8.12.6/8.12.6/Submit) id h26KYnVh000599;
	Thu, 6 Mar 2003 15:34:49 -0500 (EST)
X-Authentication-Warning: magni.microcell.ca: ebaroud set sender to SoHo@admin.fido.ca using -f
Date: Thu, 6 Mar 2003 15:34:49 -0500
From: Edmond Baroud <SoHo@admin.fido.ca>
To: Lucas Holt <NeoNav@netscape.net>
Cc: freebsd-questions@FreeBSD.ORG
Subject: Re: Sendmail: Deleting file attachments?
Message-ID: <20030306203449.GA545@admin.fido.ca>
References: <3E67AB9E.8080609@netscape.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3E67AB9E.8080609@netscape.net>
User-Agent: Mutt/1.4i
X-Sanitizer: This message has been sanitized!
X-Sanitizer-Rev: $Id: Sanitizer.pm,v 1.64 2002/10/22 16:37:04 bre Exp $
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

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 (NeoNav@netscape.net):
> 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 majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Edmond Baroud 
UNIX Systems Admin             mailto:SoHo@admin.fido.ca
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message