From owner-freebsd-isp@FreeBSD.ORG Wed Sep 22 10:41:10 2004 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 3329D16A4CE for ; Wed, 22 Sep 2004 10:41:10 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69A9243D2F for ; Wed, 22 Sep 2004 10:41:09 +0000 (GMT) (envelope-from meshbah@gmail.com) Received: by mproxy.gmail.com with SMTP id 74so1785789rnk for ; Wed, 22 Sep 2004 03:41:08 -0700 (PDT) Received: by 10.38.6.75 with SMTP id 75mr84732rnf; Wed, 22 Sep 2004 03:41:08 -0700 (PDT) Received: by 10.38.76.25 with HTTP; Wed, 22 Sep 2004 03:41:08 -0700 (PDT) Message-ID: Date: Wed, 22 Sep 2004 16:41:08 +0600 From: Meshbah Uddin Ahmed To: john@day-light.com, freebsd-isp@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Subject: Re: Howto Filter Mails X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Meshbah Uddin Ahmed List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2004 10:41:10 -0000 Dear John, thanks 4 ur help. i tried according to ur instruction. it works little bit. i add a line in main.cf body_checks = pcre:/usr/local/etc/postfix/body_checks then i create a file, name body_checks and add the following line- /^xyz$/ REJECT Mail is Reject in this way, postfix does not send this kind of mail which content is "xyz". but in maillog it shows- SYSERR(root):savemail: cannot save rejected email anywhere On Tue, 21 Sep 2004 09:33:36 -0500, John Brooks wrote: > the name of the file is "header_checks" and it is located in the same > directory that contains all of the postfix config files. "body_checks" > is similar, but it must be created. all of the info needed is located > in either the 'man' page or the 'header_checks' file itself. there are > several 'sample' files included with the postfix documentation that may > be of benefit. > > -- > John Brooks > john@day-light.com