From owner-freebsd-questions@FreeBSD.ORG Sat May 13 21:27:39 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 42EA616A401 for ; Sat, 13 May 2006 21:27:39 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BA4243D49 for ; Sat, 13 May 2006 21:27:37 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by wr-out-0506.google.com with SMTP id 70so535636wra for ; Sat, 13 May 2006 14:27:37 -0700 (PDT) Received: by 10.54.133.19 with SMTP id g19mr1315356wrd; Sat, 13 May 2006 14:27:37 -0700 (PDT) Received: from ?192.168.0.4? ( [216.45.217.148]) by mx.gmail.com with ESMTP id 38sm834098wrl.2006.05.13.14.27.36; Sat, 13 May 2006 14:27:37 -0700 (PDT) Date: Sat, 13 May 2006 17:27:29 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Organization: Seibercom In-Reply-To: <20060513204032.GA51338@catflap.slightlystrange.org> References: <44662536.4080700@waywood.co.uk> <20060513204032.GA51338@catflap.slightlystrange.org> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20060513172622.F3A7.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.25 [en] Subject: Re: very slow boot (newbie) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 21:27:39 -0000 Daniel Bye wrote: > On Sat, May 13, 2006 at 07:28:06PM +0100, Barnaby Scott wrote: > > It turns out it was sendmail causing the delay, so now my /etc/rc.comf > > reads: > > > > sendmail_enable="NONE" > > This is fine, but according to rc.sendmail(8) `NONE' is deprecated and > will be removed in a future release (but, to be honest, it's been going > to be removed in a future release for quite some time now... ;-). It's > more typing, but the preferred way to disable sendmail these days is > this: > > sendmail_enable="NO" > sendmail_submit_enable="NO" > sendmail_outbound_enable="NO" > sendmail_msp_queue_enable="NO" > > This prevents any of the various sendmail daemons from starting. In that case, what handles the delivery of mail locally? > > > ...it does not cure the problem for me if I decide that I do want > > sendmail! I could cross that bridge when I come to it, but I would > > prefer to gain some insight here if anyone can bear any more on this topic. > > I would suggest you look at ssmtp in the ports. It is a very simple > mail forwarding daemon, that you configure with the IP address of another, > full MTA to which ssmtp will send all your outgoing messages. Your ISP > probably runs a suitable server for their customers' use. It means you > won't have to worry about your IP address and DNS resolution and all the > other things that go with running a full MTA, like sendmail, exim or > postfix. > > > > > Adding > > 127.0.0.1 frankbruno > > to /etc/hosts did not cure the problem. Could that be because the lookup > > that causes the delay is a reverse one? If so, it would be trying to > > find a name for 192.168.0.4 (I think that's the one I have been getting > > recently) which is still not in hosts. > > No, it wouldn't help at all - you should return that entry to localhost. > > > I would rather not mess with the IP allocation if possible - having it > > automatic is much more useful and means I cannot create condradictory > > records in different places. > > Fair enough. KDK's suggestion of using a wrapper script will certainly > get you round this if you decide you need/want to use a more full- > featured MTA. > > Dan > > -- > Daniel Bye