From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 17 09:10:24 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A491A16A41C for ; Fri, 17 Jun 2005 09:10:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9001B43D55 for ; Fri, 17 Jun 2005 09:10:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5H9AOX5062934 for ; Fri, 17 Jun 2005 09:10:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5H9ANtL062933; Fri, 17 Jun 2005 09:10:23 GMT (envelope-from gnats) Date: Fri, 17 Jun 2005 09:10:23 GMT Message-Id: <200506170910.j5H9ANtL062933@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Giorgos Keramidas Cc: Subject: Re: bin/82311: sendmail waits 1min+ when there is no internet connection, after a reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Giorgos Keramidas List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 09:10:24 -0000 The following reply was made to PR bin/82311; it has been noted by GNATS. From: Giorgos Keramidas To: Maxim Konovalov Cc: bug-followup@freebsd.org Subject: Re: bin/82311: sendmail waits 1min+ when there is no internet connection, after a reboot Date: Fri, 17 Jun 2005 01:06:05 +0300 (EEST) On 2005-06-16 09:00, Maxim Konovalov wrote: > [...] > > When there is no external internet connection, Sendmail > > waits 1min or more when I reboot. > > >How-To-Repeat: > > block internet access from gateway > > enable sendmail in rc.conf > > reboot > > Reduce resolver timeout in sendmail.mc|cf. Another workaround is to run a local name server, which can quickly detect if there is a network connection and respond with an error :) I've used this on my laptop to avoid long delays every time a program tries to use the network when I'm offline.