header_checks = regexp:/etc/postfix/filter
/etc/postfix/filter has: # No ***SPAM*** /^Subject .*\*\*\*SPAM\*\*\*/ DISCARD ***SPAM*** # SPam flag /^X-Spam-Flag .YES/ DISCARD Spam FlagThe intent is to discard emails where either the subject contains ***SPAM*** or the X-Spam-Flag is YES
But the filters aren't working. I am by no means a regex expert. What am I missing?
Rob