How to reject if SPF "None"

Asked by vitich

Hi!
I want to reject mail if SPF result is "None"
My conf:

debugLevel = 2
defaultSeedOnly = 1
HELO_reject = SPF_Not_Pass
Mail_From_reject = Fail
PermError_reject = True
TempError_Defer = True
Header_Type = SPF
skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0/104,::1
Domain_Whitelist = example1.com,example2.com
Reject_Not_Pass_Domains = *

Can I use * for it?
Thank You!

Question information

Language:
English Edit question
Status:
Answered
For:
pypolicyd-spf Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Scott Kitterman (kitterman) said :
#1

It's not supported and won't be. If the domain supports DMARC, rejecting based on DMARC failure would probably give you a very similar result.

Can you help with this problem?

Provide an answer of your own, or ask vitich for more information if necessary.

To post a message you must log in.