Message reject based on absense of a header(s)

2014-02-18 Thread Vladimir Kozlov
I'd like to reject messages without some headers (say, Date: or Message-ID:). As far as I understand, headers-checks and body-checks could be done as described at http://www.postfix.org/BACKSCATTER_README.html The only question I could not find answer to is: how to write regexp for _absence_

Re: Message reject based on absense of a header(s)

2014-02-18 Thread Noel Jones
On 2/18/2014 10:54 AM, Vladimir Kozlov wrote: I'd like to reject messages without some headers (say, Date: or Message-ID:). As far as I understand, headers-checks and body-checks could be done as described at http://www.postfix.org/BACKSCATTER_README.html The only question I could not find

Re: Message reject based on absense of a header(s)

2014-02-18 Thread Andrey Repin
Greetings, postfix users! I'd like to reject messages without some headers (say, Date: or Message-ID:). As far as I understand, headers-checks and body-checks could be done as described at http://www.postfix.org/BACKSCATTER_README.html The only question I could not find answer to is: how

Re: Message reject based on absense of a header(s)

2014-02-18 Thread Andreas Schulze
Noel Jones: To detect missing headers you'll need a content filter such as SpamAssassin. opendmarc-milter implement a test to verify RFC5322-required headers (RFC5322 3.6) The feature is new, available in the 1.2.0 Beta only.

Re: Message reject based on absense of a header(s)

2014-02-18 Thread Noel Jones
On 2/18/2014 3:41 PM, Andreas Schulze wrote: Noel Jones: To detect missing headers you'll need a content filter such as SpamAssassin. opendmarc-milter implement a test to verify RFC5322-required headers (RFC5322 3.6) The feature is new, available in the 1.2.0 Beta only.

Re: Message reject based on absense of a header(s)

2014-02-18 Thread Wietse Venema
Noel Jones: A few years ago I tried rejecting messages with no Message-ID. Much to my surprise, there were far more false-positives than actual spam rejected. I doubt the situation has changed much since then, but YMMV. That was my experience, too. There was enough legitimate mail without

Re: Message reject based on absense of a header(s)

2014-02-18 Thread Michael J Wise
On Feb 18, 2014, at 2:57 PM, Wietse Venema wrote: Noel Jones: A few years ago I tried rejecting messages with no Message-ID. Much to my surprise, there were far more false-positives than actual spam rejected. I doubt the situation has changed much since then, but YMMV. That was my