Wietse: > /^Subject:.*\*{5}SPAM\*{5}/DISCARD *SPAM* > >Please look for warnings like the following in your maillog file: > >postfix/cleanup[2632]: warning: regexp map /etc/postfix/header_checks, line 1: unknown regexp >option "D": skipping this rule > > Wietse
Thank you. I will try it and go on with testing it around with different options. However, doing it like this: /^Subject:.*\*{5}SPAM\*{5}/ DISCARD *SPAM* /^X-Spam-Flag: YES/ DISCARD Spam Flag /^Subject:(.*)SPAM/ DISCARD 8 /^Subject: make money fast/ REJECT No more hullababallos, please. /^Subject:/ WARN disables all the rules that go /before/ WARN. Does it work successively as PHP does? Then my best bet is to separate the troubled one like this: /^Subject:.*\*{5}SPAM\*{5}/ DISCARD *SPAM* /^Subject:/ WARN that is without having anything before discard*spam*. Is that correct? I also begin to think that there is a regexp issue somewhere. Is it actually possible for different Linux distros to treat regexpes differently requiring regexpes to be different as well? -- View this message in context: http://postfix.1071664.n5.nabble.com/header-checks-not-working-tp36845p70638.html Sent from the Postfix Users mailing list archive at Nabble.com.