On 4/5/2016 6:05 PM, jaso...@mail-central.com wrote: > 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 >
This is almost certainly an issue with your policy service. The "premature end-of-input" means the policy service crashed. You can try running the policy service by hand (feed it input with telnet or nc or similar, rather than postfix) and/or enable any debug logging in the policy service. But that's about all the help we can offer here. -- Noel Jones