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 to write regexp >> for _absence_ of a header(s)?
> The header_checks feature scans one header at a time and does not > save state between headers, making it impossible to detect missing > headers. > To detect missing headers you'll need a content filter such as > SpamAssassin. That's a bust :( I receive 3-5 messages without date/msgid daily (and they are ALWAYS SPAM), and I was hoping there's a way to save some horsepower. -- WBR, Andrey Repin (anrdae...@freemail.ru) 18.02.2014, <21:58> Sorry for my terrible english...