Re: Header_checks inconsistent with postmap query

2022-02-10 Thread Viktor Dukhovni
On Thu, Feb 10, 2022 at 10:27:32PM +, Eric Wilkison wrote: > header_checks: > /^X-Forefront-Antispam-Report:.*SFV:(SPM|SKS|SKB).*to=<.*@ms2019.mobility-lab.com>/ > WARN  It's working You're expecting recipient information to be present in the header text. > Feb 10 15:48:21 relay1 postfix/cl

Header_checks inconsistent with postmap query

2022-02-10 Thread Eric Wilkison
I'm trying to write a simple header_check rule and seeing inconsistent results between testing with "postmap -q" and postfix processing an incoming message.  We need to match header lines with a specific SFV value and match the domain of the message recipient. Here are the relevant parts of the