On Thu, Sep 11, 2014 at 10:47:09AM -0700, Den wrote: > That's right Viktor. Your are absolutely right. > > The correct line is header_checks = regexp:/etc/postfix/spamdiscard > > and running this: postmap -q "X-Spam-Flag: YES/" > regexp:/etc/postfix/spamdiscard > > returns no errors. > > The postmap -q "X-Spam-Flag: YES/" regexp:/etc/postfix/filter > > is a typo as I was doing it manually while copy-pasting my config for the > first time, I am so sorry about that.
If you cannot report problems accurately, or expect readers to piece together fragments of separate messages, I'm afraid I can't help you. Header checks work when correctly specified. -- Viktor.