I am hosting the email for "Site A" with DirectAdmin. Another domain (not administered by me), "Domain B", has its email hosted at Office 365 (aka Microsoft 365). Now, when they try to send email from "Domain B" to "Site A", it fails with a notice from the Microsoft server, saying it tried to deliver the email, but the DirectAdmin server responded that it does not accept the email due to a misconstrued PTR / rDNS record.
Okay, great, but it's impossible for a Office 365 email hosted domain to fix that, because the emails are sent by various IP addresses at Microsoft (as explained here by a MS agent).
I tried adding Domain B to the SpamAssassin whitelist for Site A, but of course that has no effect because SpamAssassin is never even triggered. As far as I understand, this is being blocked at the connection level, before any content is actually sent. (Which explains why the failure notice has a Office365 layout.)
Confusingly, when I send an email from another Office365-email-hosted email (that I do administer), everything does work. But I cannot find a fault in "Domain B"'s records, it has the correct Office365 DNS records (MX, SPF, autodiscover).
Sooo. How can I stop my DirectAdmin server from blocking emails from this Office365-hosted domain? Can I "whitelist" everything being sent by *. protection.outlook.com, for example (not in SpamAssassin but "before" that)?
Okay, great, but it's impossible for a Office 365 email hosted domain to fix that, because the emails are sent by various IP addresses at Microsoft (as explained here by a MS agent).
I tried adding Domain B to the SpamAssassin whitelist for Site A, but of course that has no effect because SpamAssassin is never even triggered. As far as I understand, this is being blocked at the connection level, before any content is actually sent. (Which explains why the failure notice has a Office365 layout.)
Confusingly, when I send an email from another Office365-email-hosted email (that I do administer), everything does work. But I cannot find a fault in "Domain B"'s records, it has the correct Office365 DNS records (MX, SPF, autodiscover).
Sooo. How can I stop my DirectAdmin server from blocking emails from this Office365-hosted domain? Can I "whitelist" everything being sent by *. protection.outlook.com, for example (not in SpamAssassin but "before" that)?
Last edited: