Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2010 10:54:46 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: sendmail && resolv.conf changes
Message-ID:  <20100914085445.GA1854@current.Sisis.de>
In-Reply-To: <cef31329f51d7fa3d5e89b7255b5335b.squirrel@paraklet.net>
References:  <20100914080141.GA2286@current.Sisis.de> <cef31329f51d7fa3d5e89b7255b5335b.squirrel@paraklet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Tuesday, September 14, 2010 a las 09:15:49AM +0100, tomasz dereszynski escribió:

> 
> >
> > Hello,
> >
> > When using a laptop it is normal that there are some changes in
> > resolv.conf during the live, for example:
> >
> > boot time: no network available
> > start of PPP over UMTS: resolv.conf from provider
> > start VPN to connect to company: resolv.conf from company
> > ...
> >
> > it seems that sendmail is not aware of such changes in the resolv.conf
> > and always get stuck with the old DNS and ofc does not work on incoming
> > mails (provided by fetchmail). A restart helps, but is there some better
> > way to let sendmail switch to the new DNS environment when resolv.conf
> > changes?
> >
> > Thanks
> >
> My very wide guess would be that Sendmail starts before system obtain
> network settings from DHCP.

Your guess is correct :-)

What I wanted to say: sendmail runs and DHCP changes in certain
situations the IP, routing and DNS, and sendmail does not adopt on these
changes.

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/
Solidarity with the zionistic pirates of Israel?   Not in my  name!
¿Solidaridad con los piratas sionistas de Israel? ¡No en mi nombre!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100914085445.GA1854>