Postfix policyd-spf reject None

dmarcpolicydpostfixspf

How to configure policyd-spf in Postfix to reject domains with no SPF record?

The documentation doesn't specify this condition and its needed to reject spoofed/unauthorized emails on an outbound relay.

Similar Q&A on Stackoverflow recommends use of DMARC along with SPF. But this is not an ideal case for Postfix since OpenDMARC is still in beta and tbh I'm not familiar with its Postfix implementation or whether it can even be configured to reject emails in case of no DMARC record.

Best Answer

SPF policy servers like policyd-spf does not have option to reject domains with no SPF records. Solution was to use a custom policy server.