From owner-freebsd-questions@FreeBSD.ORG Tue Sep 14 08:42:36 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 535D61065696 for ; Tue, 14 Sep 2010 08:42:36 +0000 (UTC) (envelope-from tomaszd@paraklet.net) Received: from bxc133.internetdsl.tpnet.pl (bxc133.internetdsl.tpnet.pl [83.18.236.133]) by mx1.freebsd.org (Postfix) with ESMTP id 90FBF8FC13 for ; Tue, 14 Sep 2010 08:42:32 +0000 (UTC) Received: (qmail 3437 invoked by uid 0); 14 Sep 2010 08:15:49 -0000 Received: from 127.0.0.1 by first.magraf.pl (envelope-from , uid 0) with qmail-scanner-2.01st (clamdscan: 0.95.3/11901. spamassassin: 3.2.5. perlscan: 2.01st. Clear:RC:1(127.0.0.1):. Processed in 0.044919 secs); 14 Sep 2010 08:15:49 -0000 Received: from localhost.magraf.pl (HELO paraklet.net) (127.0.0.1) by bxc133.internetdsl.tpnet.pl with SMTP; 14 Sep 2010 08:15:48 -0000 Received: from 85.115.34.41 (SquirrelMail authenticated user tomaszd@paraklet.net) by paraklet.net with HTTP; Tue, 14 Sep 2010 09:15:49 +0100 Message-ID: In-Reply-To: <20100914080141.GA2286@current.Sisis.de> References: <20100914080141.GA2286@current.Sisis.de> Date: Tue, 14 Sep 2010 09:15:49 +0100 From: "tomasz dereszynski" To: "Matthias Apitz" , freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Subject: Re: sendmail && resolv.conf changes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 08:42:36 -0000 > > 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. But I do not remember Sendmail settings well enough. -- bEsT rEgArDs | "Confidence is what you have before you tomasz dereszynski | understand the problem." -- Woody Allen | Spes confisa Deo | "In theory, theory and practice are much numquam confusa recedit | the same. In practice they are very | different." -- Albert Einstein