From owner-freebsd-questions Thu Mar 6 12:12: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 01B9137B401 for ; Thu, 6 Mar 2003 12:12:48 -0800 (PST) Received: from imo-d01.mx.aol.com (imo-d01.mx.aol.com [205.188.157.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF46843F85 for ; Thu, 6 Mar 2003 12:12:46 -0800 (PST) (envelope-from neonav@netscape.net) Received: from neonav@netscape.net by imo-d01.mx.aol.com (mail_out_v34.21.) id n.e9.7d8a60e (16225) for ; Thu, 6 Mar 2003 15:12:19 -0500 (EST) Received: from netscape.net (adsl-68-72-10-94.dsl.klmzmi.ameritech.net [68.72.10.94]) by air-in02.mx.aol.com (v90_r2.5) with ESMTP id MAILININ21-0306151219; Thu, 06 Mar 2003 15:12:19 -0500 Message-ID: <3E67AB9E.8080609@netscape.net> Date: Thu, 06 Mar 2003 15:12:14 -0500 From: Lucas Holt User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Sendmail: Deleting file attachments? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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