|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: address not listed for hostname
From: Clodoaldo Pinto (clodoaldo.pinto
gmail.com)
Date: Thu Aug 10 2006 - 08:25:28 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2006/8/10, Wietse Venema <wietse
porcupine.org>:
> Clodoaldo Pinto:
> > > > > Does the output of the host command reinforce or confirm caching problems?:
> > > > >
> > > > > # host 65.23.13.153
> > > > > 153.13.23.65.in-addr.arpa domain name pointer 65.23.13.153.nw.nuvox.net.
> > > > >
> > > > > That was from the server. In my thousands miles away desktop I have
> > > > > the same output as yours:
> > > > >
> > > > > $ host 65.23.153.13
> > > > > 13.153.23.65.in-addr.arpa domain name pointer rm-1004-05.serve.com.
> > > >
> > > > The host command output at the server has been correct for more than
> > > > 15 hours now:
> > > >
> > > > # host 65.23.153.13
> > > > 13.153.23.65.in-addr.arpa domain name pointer rm-1004-05.serve.com.
> > > >
> > > > I guess I have no more caching problems and I restarted postfix but
> > > > the message is still there (UTC time zone):
> > >
> > > Look in /etc/hosts /etc/resolv.conf /var/spool/postfix/etc/hosts
> > > /var/spool/postfix/etc/resolv.conf
> >
> > # cat /etc/hosts
> > 127.0.0.1 rm-1004-05.serve.com rm-1004-05
> > localhost.localdomain localhost
> > 65.23.153.13 rm-1004-05.serve.com
>
> That could be the problem.
>
> The Postfix SMTP server uses getaddrinfo(), which among others
> looks in BOTH /etc/hosts AND dns, depending on how the system is
> configured via /etc/nsswitch.conf or equivalent (not all the world
> is Linux).
>
> Why don't you have
>
> 127.0.0.1 localhost.localdomain localhost
> 65.23.153.13 rm-1004-05.serve.com rm-1004-05
>
> That would make a lot more sense to me.
That worked:
Aug 10 13:22:16 rm-1004-05 postfix/smtpd[11251]: connect from
rm-1004-05.serve.com[65.23.153.13]
Thanks, Clodoaldo Pinto
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]