From owner-freebsd-net Sat May 13 6:53:56 2000 Delivered-To: freebsd-net@freebsd.org Received: from njord.bart.nl (njord.bart.nl [194.158.170.15]) by hub.freebsd.org (Postfix) with ESMTP id 35C4937B588 for ; Sat, 13 May 2000 06:53:51 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org (abaddon@lucifer.is.an.elder.of.the.ninth-circle.org [195.38.216.226]) by njord.bart.nl (8.10.1/8.10.1) with ESMTP id e4DDrkR39141; Sat, 13 May 2000 15:53:47 +0200 (CEST) Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id PAA93012; Sat, 13 May 2000 15:41:16 +0200 (CEST) (envelope-from asmodai) Date: Sat, 13 May 2000 15:41:15 +0200 From: Jeroen Ruigrok/Asmodai To: "G.B.Naidu" Cc: Thierry Herbelot , freebsd-net@FreeBSD.org Subject: Re: sendmail hangs while booting... Message-ID: <20000513154115.X78993@daemon.ninth-circle.org> References: <390F1276.8174F3BE@cybercable.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from gbnaidu@sasi.com on Wed, May 03, 2000 at 10:36:16AM +0530 Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -On [20000503 07:31], G.B.Naidu (gbnaidu@sasi.com) wrote: >On Tue, 2 May 2000, Thierry Herbelot wrote: > >> Generally, sendmail is a bit slow to boot, as it tries to resolve the >> hostname of your machine via dns : if your hostname is not declared in a >> DNS, sendmail has to wait the timeout duration before finishing its >> startup. > >What I would like to know is: During it's initilization, does sendmail >sends/receive some packets? If there are any bugs in the code that I have >changed(in the files mentioned above), does they affect sendmail? Like Thierry said, it will try and do a lookup by means if gethostbyname() IIRC which could mean the resolver needs to contact a nameserver as specified in /etc/resolv.conf. So it could send out some packets. But that's entirely dependent on your configuration. -- Jeroen Ruigrok vd Werven/Asmodai asmodai@[wxs.nl|bart.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best The BSD Programmer's Documentation Project If we do not start at the beginning, we have no hope to arrive... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message