SPF, DKIM and DMARC configured, yet other mail servers can send mails.

Posted by Ok-Card-7219@reddit | sysadmin | View on Reddit | 11 comments

Around a month ago, we changed mail servers from Ionos to a local company where they run their own mail server, we manage everything through a cPanel. We use this mail server for personal accounts, while we use Exchange Online for business shared accounts, such as sales.

I configured SPF to allow both our mailserver and Microsoft servers, like this:

v=spf1 a mx ip4:OurMailServerIP include:spf.protection.outlook.com -all

Also added the DKIM registers for our mailserver and exchange online, no extra server other than this.

Selector1/2 domainkeys for Exchange Online

For DMARC, it's configured on quarantine and sending reports to DMARCeye.

My question is: If I configured only so a specific IP and Microsoft mail servers are verified mail servers, why do mail servers like ovh.net, eurodns.com, orange.fr, google.com and 10+ send mails that pass dkim/dmarc, even though they fail spf?

Thank you in advance.