Published September 6, 2012 | https://doi.org/10.59348/mmy5f-dgh59

Can't receive emails from Hotmail: fixing their buggy DNS process

Creators & Contributors

I run Google Apps for Domains to handle my email. Recently, a friend was having trouble emailing me. I asked her to send me the source of the message. In there, I found this:

Diagnostic-Code: smtp;554 5.7.1 <martin@martineve.com>: Relay access denied

My A records point to my server.
My MX records point to Google Apps.

I know that the Google Apps servers wouldn't refuse that request, so what's going on?

It turns out that Hotmail, in its infinite wisdom, decides that it would be better to query the A record and see if there's an SMTP server running on Port 25 there. If there is, it ignores the MX records and tries to relay through that server. So that'll be complete disregard for RFCs 974 and 2821 then. Humph.

So, the solution is either to use iptables to drop packets from Hotmail servers or, as I have now done (and meant to do from the start(!)), to move postfix to listen only on localhost.

inet_interfaces = localhost

That ought to do it.

Can't receive emails from Hotmail: fixing their buggy DNS process was originally published by Martin Paul Eve at eve.gd: Martin Paul Eve on September 06, 2012.

Files

10.59348_mmy5f-dgh59.pdf

Files (102.0 kB)

Name Size Download all
md5:a1fee1febeb648bc3bd6668fd9be3e56
102.0 kB Preview Download

Additional details

Description

I run Google Apps for Domains to handle my email. Recently, a friend was having trouble emailing me. I asked her to send me the source of the message. In there, I found this: My A records point to my server. My MX records point to Google Apps.

Dates

Issued
2012-09-06T00:00:00Z
Updated
2012-09-06T09:52:31Z