On 2 Aug 2012, at 10:44, Varadi Gabor wrote:

The log also shows that the "warning: numeric domain name in resource data of MX record for bond.com: 0.0.0.0"

Yes, I saw that. This should have resulted in a hard error, not a warning.

I want solutions not only in this case in particular, but all similar cases.

IMO, the solution is to make sure postfix does The Right Thing and refuse to treat broken MX records that look like dotted decimals as IP addresses. Or at the very least make this behaviour configurable and have a sensible default. Weitse?

If you're getting loops, perhaps you should install a current version of postfix? You said you had 2.7.something. Here's what happened with on a version 2.9.2 server when I just tried to email bond.com:


Aug 2 10:57:20 hutch postfix/smtp[20772]: warning: numeric domain name in resource data of MX record for bond.com: 0.0.0.0 Aug 2 10:57:20 hutch postfix/smtpd[20768]: connect from localhost[127.0.0.1] Aug 2 10:57:20 hutch postfix/smtp[20772]: warning: host 0.0.0.0[0.0.0.0]:25 greeted me with my own hostname hutch.rfc1035.com Aug 2 10:57:20 hutch postfix/smtp[20772]: warning: host 0.0.0.0[0.0.0.0]:25 replied to HELO/EHLO with my own hostname hutch.rfc1035.com Aug 2 10:57:20 hutch postfix/smtp[20772]: CA6391542837: to=<t...@bond.com >, relay=0.0.0.0[0.0.0.0]:25, delay=0.57, delays=0.24/0.01/0.32/0, dsn=5.4.6, status=bounced (mail for bond.com loops back to myself) Aug 2 10:57:20 hutch postfix/smtpd[20768]: disconnect from localhost[127.0.0.1] Aug 2 10:57:20 hutch postfix/cleanup[20771]: A4568154283E: message- id=<20120802095720.a45681542...@hutch.rfc1035.com> Aug 2 10:57:20 hutch postfix/qmgr[32110]: A4568154283E: from=<>, size=2175, nrcpt=1 (queue active) Aug 2 10:57:20 hutch postfix/bounce[20773]: CA6391542837: sender non- delivery notification: A4568154283E
Aug  2 10:57:20 hutch postfix/qmgr[32110]: CA6391542837: removed
Aug 2 10:57:21 hutch postfix/smtp[20772]: A4568154283E: to=<j...@rfc1035.com >, relay=mailhost.rfc1035.com[93.186.33.42]:25, delay=0.51, delays=0.11/0/0.35/0.05, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 24269CBC41C)
Aug  2 10:57:21 hutch postfix/qmgr[32110]: A4568154283E: removed

Reply via email to