Whitelist a domain in rDNS check

tundasrl

Verified User
Joined
May 17, 2008
Messages
59
Hello, a customer asked to put a domain in whitelist for the PTR check.

The sender is using office365 and their DNS do not support the creation of PTR records, so their mail are rejected

Since I don't want to disable the whole check is it possible to put a single domain in whitelist?

Regards
 
The sender is using office365 and their DNS do not support the creation of PTR records, so their mail are rejected
Then there might be something wrong with their MX records, because when using Office 365 all is going via Microsoft and they have their own PTR records and normally always pass the PTR check.

So to me this clearly seems a configuration error on the sender's side.

It's possible to whitelist domains using for example the /etc/virtual/whitelist_domains file, however, this can only be filled by root or admin.
But yes you can add a single domain in there.

Or you can add like this:
outbound.protection.outlook.com
mail.protection.outlook.com

However, be aware this will also let malware and spam coming from outlook/365 addresses in.

Remember to reload or restart Exim after making changes, just to be sure.
 
Back
Top