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

"David Jones via spf-devel" <[email protected]> Thu, 14 Dec 2017 12:47:10 -0600
Newsgroups gmane.mail.spam.spf.devel
Message-ID <[email protected]>
On 12/14/2017 12:05 PM, Scott Kitterman wrote:
> On Thursday, December 14, 2017 04:45:14 PM David Jones via spf-devel wrot=
e:
>> I would like to up my SPF game a bit and provide feedback to those who d=
on't
>> have a misconfigured SPF record.  I have enabled debugging and only see =
an
>> action of prepending the AR header.
>>
>> postfix-3.0.5-1.el6.x86_64
>> python-pyspf-2.0.11-1.el6.noarch
>>
>> /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
>>
> ...
>>
>> 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 be=
lieve
> if you remove No_Mail =3D False from your config it will work.  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.

--=20
David Jones