[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sendmail, DNS and the extra dot ?



I see a lovely mail log.
What's your issue? Oh, and maillogs don't show dns lookups.

What are you doing?  What do you expect to have happen?
What's the problem?

Quoting T_(_at_)_W (lsp93_(_at_)_xs4all_(_dot_)_nl):
> Hi folks,
> 
> For some time now I notice that Sendmail does a unnecessary DNS lookup for
> localhost.
> 
> See this excerpt from the maillog (s1=user, mineddomain=domainname):
> 
> >Dec  1 04:52:05 s1 sm-mta[14935]: starting daemon (8.12.6):
> >SMTP+queueing_(_at_)_00:30:00
> >Dec  1 05:30:08 s1 sendmail[12257]: gB14U6Op012257: from=root, size=56, class=0, nrcpts=1, msgid=<200212010430_(_dot_)_gB14U6Op012257_(_at_)_s1_(_dot_)_mineddomain_(_dot_)_com>, relay=root_(_at_)_localhost
> >Dec  1 05:35:30 s1 sendmail[10788]: gB14Yl84010788: from=root, size=4693761, class=0, nrcpts=1, msgid=<200212010434_(_dot_)_gB14Yl84010788_(_at_)_s1_(_dot_)_mineddomain_(_dot_)_com>, relay=root_(_at_)_localhost
> >Dec  1 05:42:48 s1 sendmail[12257]: gB14U6Op012257: to=root, ctladdr=root (0/0), delay=00:12:40, xdelay=00:12:40, mailer=relay, pri=30041, relay=localhost.mineddomain.com. [127.0.0.1], dsn=2.0.0, stat=Sent (gB14aG06006443 Message accepted for delivery)
> >Dec  1 05:42:48 s1 sm-mta[6443]: gB14aG06006443: from=<root_(_at_)_s1_(_dot_)_mineddomain_(_dot_)_com>, size=376, class=0, nrcpts=1, msgid=<200212010430_(_dot_)_gB14U6Op012257_(_at_)_s1_(_dot_)_mineddomain_(_dot_)_com>, proto=ESMTP, daemon=MTA, relay=localhost.mineddomain.com [127.0.0.1]
> >Dec  1 05:42:49 s1 sm-mta[2443]: gB14aG06006443: to=user1, ctladdr=<root_(_at_)_s1_(_dot_)_mineddomain_(_dot_)_com> (0/0), delay=00:00:02, xdelay=00:00:00, mailer=local, pri=30625, dsn=2.0.0, stat=Sent
> 
> 
> and this is from an earlier post by some1 else:
> 
> >>May 4 16:44:05 smudge sendmail[23351]: g44Ki5Sf023351: to=root,
> >>ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay,
> >>pri=30029, relay=localhost.mydom.dom. [1.2.3.4], dsn=4.0.0,
> >>stat=Deferred: Connection refused by localhost.mydom.dom.
> 
> 
> The configuration files used in my setup are 'submit.cf' and 'localhost.cf'.
>  No matter if the conf(s) file(s) is(are) virgin, with any added/changed
> options; /etc/resolv.conf is fine (tried even adding 'ndots 2');/etc/hosts
> is ok;
> tried 'O DontProbeInterfaces=True' and yes, 'localhost is in class w'
> 
> Some email stated /etc/hosts != DNS and that the problem is that sendmail
> does not use /etc/hosts by default and only uses DNS. So I created
> '/etc/mail/service.switch' with the following line:
> 
> hosts	files
> 
> But localhost.mineddomain.com. still has the extra dot.
> Does any1 know about this wandering lookups?
> 
> Cheers,
> Touchwood



Visit your host, monkey.org