From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 17:14:51 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED36337B401 for ; Mon, 9 Jun 2003 17:14:51 -0700 (PDT) Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id D97C943F3F for ; Mon, 9 Jun 2003 17:14:50 -0700 (PDT) (envelope-from LConrad@Go2France.com) Received: from VirusGate.MEIway.com (virus-gate.meiway.com [212.73.210.91]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 66070EF45A for ; Tue, 10 Jun 2003 02:03:44 +0200 (CEST) Received: from localhost (localhost.meiway.com [127.0.0.1]) by VirusGate.MEIway.com (Postfix) with SMTP id C4E155D009 for ; Tue, 10 Jun 2003 02:15:06 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 5FDCD5D008 for ; Tue, 10 Jun 2003 02:15:06 +0200 (CEST) Received: from tx0-go2france-c.Go2France.com [24.242.169.51] by mail.Go2France.com with ESMTP (SMTPD32-6.06) id A872BDB300F4; Tue, 10 Jun 2003 02:38:10 +0200 Message-Id: <5.2.0.9.2.20030609191237.036d2920@mail.go2france.com> X-Sender: LConrad@Go2France.com@mail.go2france.com X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Mon, 09 Jun 2003 19:14:44 -0500 To: freebsd-isp@freebsd.org From: Len Conrad In-Reply-To: <001801c32e63$edd0a5e0$5264a8c0@jamieheckford> References: <3EE21F2A.6010807@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: RE: Block exe files with Sendmail X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 00:14:52 -0000 >Or, If you fancied trying the excellent postfix, its as simple as: > >-- /usr/local/etc/postfix/block > >/^(Content-(Type|Disposition):.*|[[:space:]]*(file)?)name=("[^"]*|{^{:sp >ace:]]*)\.(exe)[[:>:]]/ REJECT > > >-- /usr/local/etc/postfix/main.cf > >Body_checks= regexp:/usr/local/etc/postfix/block tpcre: is 10's of times more efficient than POSIX regexp: see the postfix PCRE README Len _____________________________________________________________________ http://MenAndMice.com/DNS-training: New York; Seattle; Chicago IMGate.MEIway.com: anti-spam gateway, effective on 1000's of sites, free