From owner-freebsd-questions@FreeBSD.ORG Tue Sep 14 08:54:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10166106566B for ; Tue, 14 Sep 2010 08:54:45 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 99AB18FC0C for ; Tue, 14 Sep 2010 08:54:44 +0000 (UTC) Received: from [193.31.11.193] (helo=current.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OvRHm-0004Xg-Ff for freebsd-questions@freebsd.org; Tue, 14 Sep 2010 10:54:42 +0200 Received: from current.Sisis.de (current [127.0.0.1]) by current.Sisis.de (8.14.3/8.14.3) with ESMTP id o8E8sknf001922 for ; Tue, 14 Sep 2010 10:54:46 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id o8E8skj4001921 for freebsd-questions@freebsd.org; Tue, 14 Sep 2010 10:54:46 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 14 Sep 2010 10:54:46 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Message-ID: <20100914085445.GA1854@current.Sisis.de> Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org References: <20100914080141.GA2286@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) X-Con-Id: 51246 X-Originating-IP: 193.31.11.193 Subject: Re: sendmail && resolv.conf changes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 08:54:45 -0000 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 - 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!