From owner-freebsd-isp@FreeBSD.ORG Mon Jun 9 02:12:40 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 50EA537B401 for ; Mon, 9 Jun 2003 02:12:40 -0700 (PDT) Received: from borja.sarenet.es (borja.sarenet.es [192.148.167.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC0EA43FBD for ; Mon, 9 Jun 2003 02:12:38 -0700 (PDT) (envelope-from borjam@sarenet.es) Received: from borja.sarenet.es (localhost [127.0.0.1]) by borja.sarenet.es (8.12.6/8.12.6) with ESMTP id h599CXV7011725; Mon, 9 Jun 2003 11:12:36 +0200 (CEST) (envelope-from borjam@sarenet.es) Content-Type: text/plain; charset="iso-8859-1" From: Borja Marcos Organization: Sarenet S.A. To: James Godwin , Date: Mon, 9 Jun 2003 11:12:32 +0200 User-Agent: KMail/1.4.3 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306091112.33193.borjam@sarenet.es> 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: Mon, 09 Jun 2003 09:12:40 -0000 =09This regular expressions were suggested by Hobbit in a Postfix mail li= st=20 last year. It rejects any executable file, regardless of its name,=20 extension, extension of the extension, MIME type, etc. =09 =09/^TV[nopqr]....[AB]..A.A....*AAAA...*AAAA/ =09/^M35[GHIJK].`..`..*````/ =09Some people didn't like them, but I think this is a very effective way= of=20 dealing with viruses. These lists are applied always in some mail servers= =20 I administer, and they have rejected every infected message they have=20 received. =09Of course, you must tell your users not to send executables, a bad=20 practice. =09Borja.