I'm pretty sure this is a pypolicyd issue, not Postfix, but asking here just in case someone's seen it already.
I've moved my Postfix SPF checks out of Amavisd/Spamassassin to pypolicyd-spf. It works as expected, when I use "Header_Type=SPF" in the config. When I switch ONLY the "Header_Type=AR", I can't received email anymore, with logs reporting Apr 3 11:22:59 mail01 postfix/psint/smtpd[7394]: warning: premature end-of-input on private/policyd-spf while reading input attribute name I've posted more detail in a bug report upstream python-policyd-spf 1.3.2 + postix 3.1.0, Header_Type=SPF works, but Header_Type=AR FAILs https://bugs.launchpad.net/pypolicyd-spf/+bug/1566561 but if anybody here has seen it, or has any ideas, I'd appreciate hearing about it. Thanks Jason