On Thu, Apr 28, 2011 at 11:26:03AM +0200, Reindl Harald wrote: > > Am 28.04.2011 10:58, schrieb Gábor Lénárt: > > Hi All, > > > > I've just noticed that some domains have MX records like this: > > > > example.com. IN MX 10 mail. > > > > The problem: I have "search ourowndomain.tld" in /etc/resolv.conf. This > > causes that postfix tries to look up mail.ourowndomain.tld as well when > > someone tries to send email to domain example.com (of course example.com is > > only an example here). It will work, since we have that entry in our zone > > file "ourowndomain.tld" on the authoritative name server. My question: can > > I tell postfix, not to do this lookup at all? > > i would say such MX is invalid and should be ignored
Yes, but I have the experience that it isn't ignored it seems ... Just I noticed that some mails are reported of looping and I discovered that the target's MX record specifies "mail." and it's interpreted as mail.owndomain.tld then by postfix and it's sent there then ... > the dot at the end normally defines a full-qualified name > which is not true in the example and AFAIK MX-Records > normally will not be expanded from a client > > means: > "host2 CNAME host1" > > * "dig CNAME host2" gives no answer, even with dns-suffix > * "dig CNAME host2.domain.tld" is completed by the nameserver >