On 11 Feb 2014, at 09:48, Klaffehn, Peter <peter.klaff...@westermann.de> wrote:
> yesterday i noticed an unexpected behaviour. This mail is lingering in the > outbound queue on my mailserver: > > 54086E032F 10413683 Fri Feb 7 14:04:21 some.user@my.domain > (lost connection with apple.de[17.149.160.31] while receiving the initial > server greeting) > pre...@apple.de > > Searching the postfix log i found out that postfix tries to deliver this > email with no effort: > > Feb 10 13:20:08 mx-50 postfix/qmgr[17611]: 54086E032F: > from=<some.user@my.domain>, size=10413683, nrcpt=1 (queue active) > Feb 10 13:21:22 mx-50 postfix/smtp[17651]: 54086E032F: lost connection with > apple.de[17.172.224.31] while receiving the initial server greeting > Feb 10 13:22:37 mx-50 postfix/smtp[17651]: 54086E032F: lost connection with > apple.de[17.178.96.17] while receiving the initial server greeting > Feb 10 13:23:52 mx-50 postfix/smtp[17651]: 54086E032F: to=<pre...@apple.de>, > relay=apple.de[17.149.160.31]:25, delay=256771, delays=256547/0/225/0, > dsn=4.4.2, status=deferred (lost connection withapple.de[17.149.160.31] while > receiving the initial server greeting) > Feb 10 14:35:08 mx-50 postfix/qmgr[6779]: 54086E032F: > from=<some.user@my.domain>, size=10413683, nrcpt=1 (queue active) > Feb 10 14:36:22 mx-50 postfix/smtp[4114]: 54086E032F: lost connection with > apple.de[17.178.96.17] while receiving the initial server greeting > Feb 10 14:37:37 mx-50 postfix/smtp[4114]: 54086E032F: lost connection with > apple.de[17.172.224.31] while receiving the initial server greeting > Feb 10 14:38:52 mx-50 postfix/smtp[4114]: 54086E032F: to=<pre...@apple.de>, > relay=apple.de[17.149.160.31]:25, delay=261272, delays=261047/0/225/0, > dsn=4.4.2, status=deferred (lost connection withapple.de[17.149.160.31] while > receiving the initial server greeting) > > Now the strange thing. There is no mx record for apple.de: > > root@mx-50:~# host -t mx apple.de > apple.de has no MX record > > So how could postfix determine the mxer for this Domain? Apparently postfix > uses the a records: > > root@mx-50:~# host -t a apple.de > apple.de has address 17.178.96.17 > apple.de has address 17.149.160.31 > apple.de has address 17.172.224.31 > > Why? these Feature is off by Default and not activated on my mailserver: > > root@mx-50:~# postconf -d | grep ignore_mx_lookup_error > ignore_mx_lookup_error = no > > root@mx-50:~# postconf -n | grep ignore_mx_lookup_error > root@mx-50:~# [no Output] > > How can i turn this off? This is how it *should* work; it is not unexpected, but *expected* behaviour. You cannot turn it off, as it is part of standards and all that. As for 'ignore_mx_lookup_error', I suggest you read the documentation again; http://www.postfix.org/postconf.5.html#ignore_mx_lookup_error If this happens a lot and fills up your queue, you could set up a 'check_recipient_access' restriction in the right place, and maintain a list of problem domains. We do this for common misspellings like 'homail.com', 'otmail.com', for example. Mvg, Joni