Re: Problem getting python-policyd-spf to reject on Permerror

"Scott Kitterman" <[email protected]> Thu, 14 Dec 2017 14:48:35 -0500
Newsgroups gmane.mail.spam.spf.devel
Message-ID <13543164.lBTXHbXU0s@kitterma-e6430>
On Thursday, December 14, 2017 12:47:10 PM David Jones via spf-devel wrote:
> On 12/14/2017 12:05 PM, Scott Kitterman wrote:
> > On Thursday, December 14, 2017 04:45:14 PM David Jones via spf-devel=20
wrote:
> >> I would like to up my SPF game a bit and provide feedback to those who
> >> don't have a misconfigured SPF record.  I have enabled debugging and
> >> only see an action of prepending the AR header.
> >>=20
> >> postfix-3.0.5-1.el6.x86_64
> >> python-pyspf-2.0.11-1.el6.noarch
> >>=20
> >> /etc/python-policyd-spf/policyd-spf.conf
> >> debugLevel =3D 5
> >> defaultSeedOnly =3D 1
> >> HELO_reject =3D False
> >> Mail_From_reject =3D Fail
> >> No_Mail =3D False
> >> PermError_reject =3D True
> >> TempError_Defer =3D False
> >> skip_addresses =3D 127.0.0.0/8,::ffff:127.0.0.0/104,::1
> >> Whitelist =3D 96.4.1.0/26,96.5.1.0/26
> >> Header_Type =3D AR
> >=20
> > ...
> >=20
> >> How do I get the action above to reject instead of adding a header?
> >=20
> > There is a bug (that I haven't root caused yet) related to No_Mail.  I
> > believe if you remove No_Mail =3D False from your config it will work.=
=20
> > That's the default anyway, so it should be fine to remove it.
> >=20
> > Scott K
>=20
> Thank you.  That did it!  I am rejecting PermErrors now.

I've released version 2.0.2 now that fixes this along with a few other bugs=
.=20=20
Thanks for (what turned out to be) a useful bug report.

Scott K