How to NOT reject if FAIL is for policy in test mode?
I run pypolicyd-spf as a Postfix filter.
It seems to be working for mismatches.
But I caught this in my postscreen log
Apr 13 09:13:26 main01 postfix/
Checking the "http://
<email address hidden> rejected a message from a mail server claiming to be herndon-
<email address hidden> received a message from herndon-
The domain herndon-
& an SPF test (http://
SPF record lookup and validation for: herndon-
SPF records are published in DNS as TXT records.
The TXT records found for your domain are:
v=spf1 mx ip4:38.127.167.0/28 ip4:74.84.128.0/24 ip4:74.84.130.0/24 ip4:209.40.99.0/24 ip4:209.40.97.0/24 ip4:209.40.100.91 ip4:96.255.24.80/29 ip4:128.121.22.0/24 include:
v=spf2.0/pra mx ip4:38.127.167.0/28 ip4:74.84.128.0/24 ip4:74.84.130.0/24 ip4:209.40.99.0/24 ip4:209.40.97.0/24 ip4:209.40.100.91 ip4:96.255.24.80/29 ip4:128.121.22.0/24 include:
Checking to see if there is a valid SPF record.
Found v=spf1 record for herndon-
v=spf1 mx ip4:38.127.167.0/28 ip4:74.84.128.0/24 ip4:74.84.130.0/24 ip4:209.40.99.0/24 ip4:209.40.97.0/24 ip4:209.40.100.91 ip4:96.255.24.80/29 ip4:128.121.22.0/24 include:
evaluating...
SPF record passed validation test with pySPF (Python SPF library)!
I understand that they're in "~all" testing mode.
I don't want to reject on these then.
What, in pypolicyd-spf config do I need to set to NOT block on test mode fails?
Here's my pypolicyd-spf config
cat python-
debugLevel = 1
HELO_reject = SPF_Not_Pass
Header_Type = AR
Authserv_Id = policyd-
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask jasonsuser for more information if necessary.