Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 2004 16:41:08 +0600
From:      Meshbah Uddin Ahmed <meshbah@gmail.com>
To:        john@day-light.com, freebsd-isp@freebsd.org
Subject:   Re: Howto Filter Mails
Message-ID:  <e52225ed040922034116f3c3d0@mail.gmail.com>
In-Reply-To: <NHBBKEEMKJDINKDJBJHGOEMJPKAC.john@day-light.com>
References:  <e52225ed04092107156abc0aae@mail.gmail.com> <NHBBKEEMKJDINKDJBJHGOEMJPKAC.john@day-light.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <john@day-light.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e52225ed040922034116f3c3d0>