Re: Howto Filter Mails
From: Meshbah Uddin Ahmed (meshbah_at_gmail.com)
Date: 09/22/04
- Previous message: Dennis Koegel: "Re: funny customers"
- Maybe in reply to: Meshbah Uddin Ahmed: "Howto Filter Mails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 22 Sep 2004 16:41:08 +0600 To: john@day-light.com, freebsd-isp@freebsd.org
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
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Dennis Koegel: "Re: funny customers"
- Maybe in reply to: Meshbah Uddin Ahmed: "Howto Filter Mails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]