Hi,
My OX in UCS is doing fine. No problem but email from Microsoft domain (hotmail.com, outlook.com, micorosft.com) is not coming in time. It is taking more than a day to reach my server. Where email from other domain is coming instantly. What should I do?
You’ll have to read the mail log: /var/log/mail.log
When you send an email from a test account at a Microsoft, it shouldn’t take long, for their mail server to contact your server. If there is no connection for a long time, the problem is on their side, and you’ll have to contact their support.
If there is a contact, but your server rejects it temporarily, then greylisting is activated (on by default). Greylisting stalls not-well-behaving mail servers. That is an important spam filter technique. Greylisting is activated if the UCR variable mail/postfix/greylisting is enabled.
To enable popular mail providers to bypass that check, see that the UCR variable mail/postfix/greylisting/client/whitelist contains /etc/postgrey/whitelist_clients.local and then add their mail servers to it. To catch all their server, use the domain. For Microsoft mail that is outlook.com.
One server per line.
As Microsoft uses multiple servers, the complete domain catches all. The servers have FQDNs like outlook-com.olc.protection.outlook.com, DC5PR0301MB2358.eurprd03.prod.outlook.com,CL2RAM02HT207.eop-nam02.prod.protection.outlook.com etc.
So use outlook.com on a single line and others as well. For example:
Are you sure greylisting is the reason? have you tried sending a mail from microsoft and observed your mail.log? How long does it take from sending the mail until the first connection from a MS mail server in mail.log?
As I wrote above, you should whitelist the SMTP client machine (mail-oln040092254013.outbound.protection.outlook.com) in a file listed in the UCR variable mail/postfix/greylisting/client/whitelist. Because MS uses a lot of servers you should whitelist their complete domain by putting outlook.com on a single line in the file.