Return-Path: Received: from locke.ccil.org (locke.ccil.org [205.164.136.88]) by ixmail6.ix.netcom.com (8.8.7-s-4/8.8.7/(NETCOM v1.01)) with ESMTP id GAA11689; ; Wed, 3 Dec 1997 06:40:58 -0800 (PST) Received: (from slist@localhost) by locke.ccil.org (8.8.5/8.8.5) id JAA01466; Wed, 3 Dec 1997 09:42:53 -0500 (EST) Resent-Date: Wed, 3 Dec 1997 09:42:53 -0500 (EST) X-Authentication-Warning: locke.ccil.org: slist set sender to fetchmail-friends-request@ccil.org using -f Date: Wed, 3 Dec 1997 12:56:52 +0100 Message-Id: <199712031156.MAA00524@mail.a2points.com> From: Yann Dirson To: rfunk@peri.acs.ohio-state.edu (Rob Funk) Cc: esr@snark.thyrsus.com (Eric S. Raymond), fetchmail-friends@ccil.org Subject: Re: Suggestion: new fetch behaviour In-Reply-To: <199712021639.LAA15068@nyssa.acs.ohio-state.edu> References: <19971202113040.52711@snark.thyrsus.com> <199712021639.LAA15068@nyssa.acs.ohio-state.edu> X-Mailer: VM 6.34 under Emacs 19.34.1 Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: multipart/mixed; boundary="Multipart_Wed_Dec__3_12:56:48_1997-1" Content-Transfer-Encoding: 7bit Resent-Message-ID: <"Sv7UjC.A.XH.RuWh0"@locke.ccil.org> Resent-From: fetchmail-friends@ccil.org X-Mailing-List: archive/latest/1236 X-Loop: fetchmail-friends@ccil.org Precedence: list Resent-Sender: fetchmail-friends-request@ccil.org X-PMFLAGS: 570949760 0 --Multipart_Wed_Dec__3_12:56:48_1997-1 Content-Type: text/plain; charset=US-ASCII Rob Funk writes: > Eric S. Raymond wrote: > >Rob Funk : > >> My guess is that sendmail is trying to do a hostname lookup when it > >> starts up, and your resolver configuration is causing that to fail and > >> timeout. That's always been what I've seen when sendmail has slow > >> starts. Check nsswitch.conf and resolv.conf, and your hosts file. > >> Make sure your hostname and FQDN are both in hosts, and that hosts is > >> looked at before DNS. You probably also want your remote mail server > >> to be in the hosts file. > > > >This sounds like advice I want to put in the FAQ. But I'm not sure I > >have your scenario quite right. By "when it starts up" do you > >actually mean "when it gets a HELO message?" > > I was talking about when the sendmail program first starts, before > getting a connection. I normally see this sort of behavior either > when the sendmail daemon starts at bootup, or when some user program > invokes the sendmail program to send a message. That seems to be a problem I had some time ago, when first installing sendmail; Now it works fine in this respect. I attach my sendmail.mc, it might help you. I guess the "FEATURE(nodns)" may be what you miss. -- Yann Dirson | Stop making M$-Bill richer & richer, alt-email: | support Debian GNU/Linux: debian-email: | more powerful, more stable ! http://www.a2points.com/homepage/3475232 | ----------------------------------------- A computer engineer's looking for a job ! ----------------------------------------- --Multipart_Wed_Dec__3_12:56:48_1997-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="sendmail.mc" Content-Transfer-Encoding: 7bit VERSIONID(`@(#)sendmail.mc 8.7 (Linux) 3/5/96') OSTYPE(debian)dnl FEATURE(masquerade_envelope)dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl FEATURE(nouucp)dnl FEATURE(nodns)dnl GENERICS_DOMAIN(bylbo.nowhere.earth)dnl FEATURE(genericstable, `hash -N /etc/mail/genericstable')dnl FEATURE(smrsh, `/usr/sbin/smrsh')dnl define(`confTO_QUEUEWARN', `10h')dnl define(`confTO_QUEUERETURN', `10d')dnl define(`confCON_EXPENSIVE', `True')dnl define(`SMTP_MAILER_FLAGS', `e')dnl FEATURE(local_procmail)dnl MAILER(local)dnl MAILER(smtp)dnl Cwbylbo.nowhere.earth ## Custom configurations below (will be preserved) dnl we have to set a valid name for some severs to accept connexion dnl define(`confDOMAIN_NAME',`mail.a2points.com')dnl dnl Talk 8bit with everyone dnl define(`confSMTP_MAILER',`smtp8')dnl dnl Tell them hom to decode our 8bit dnl define(`confDEF_CHAR_SET', `ISO-8859-1')dnl --Multipart_Wed_Dec__3_12:56:48_1997-1-- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to fetchmail-friends-request@ccil.org . Trouble? e-mail to esr@ccil.org . -- End --