From owner-freebsd-questions@FreeBSD.ORG Fri Apr 2 01:05: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 081BC106566B for ; Fri, 2 Apr 2010 01:05:36 +0000 (UTC) (envelope-from bferrell@baywinds.org) Received: from baywinds.org (dsl092-017-098.sfo1.dsl.speakeasy.net [66.92.17.98]) by mx1.freebsd.org (Postfix) with ESMTP id 33ACE8FC0C for ; Fri, 2 Apr 2010 01:05:32 +0000 (UTC) Received: from [66.92.17.195] (spa3000 [66.92.17.195]) by baywinds.org (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id o3215RXu005868 for ; Thu, 1 Apr 2010 18:05:29 -0700 Message-ID: <4BB5439B.9040304@baywinds.org> Date: Thu, 01 Apr 2010 18:08:43 -0700 From: Bruce Ferrell User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100228 SUSE/3.0.3-3.1 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201004011751.27767.npapke@acm.org> In-Reply-To: <201004011751.27767.npapke@acm.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Sendmail Five Second Greeting Delay 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: Fri, 02 Apr 2010 01:05:36 -0000 A delay of that long can be cause by the system attempting to do name resolution on your IP. Try entering the IP of the testing system into /etc/hosts and see if the delay goes away. If it does, then you know. Bruce On 04/01/2010 05:51 PM, Norbert Papke wrote: > When I connect to sendmail on a local interface, sendmail responds to the > connection with its "220" greeting immediately. If I connect to sendmail from > another machine on my (home) LAN, sendmail delays five seconds before sending > the greeting. I would like it to respond immediately. > > A quick search turned up a "greet_delay" feature in sendmail that would cause > this type of behavior. To the best of my knowledge, I do not use this > feature. Just to be sure, I tried to explicitly enable it with both a default > 0 second timeout and an explicit 0 second access rule. This did not the > resolve the issue. > > I am at a loss. What could be going on? > > Cheers, > > -- Norbert. > > sendmail mc file: > > VERSIONID(`$Id: proven.lan.mc,v 1.1 2005/07/30 08:31:09 npapke Exp $')dnl > OSTYPE(freebsd6) > DOMAIN(generic) > > FEATURE(access_db, `hash -o -T /etc/mail/access') > FEATURE(blacklist_recipients) > FEATURE(local_procmail) > FEATURE(mailertable, `hash -o /etc/mail/mailertable') > FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') > FEATURE(always_add_domain)dnl > FEATURE(masquerade_envelope)dnl > FEATURE(`accept_unresolvable_domains')dnl > MODIFY_MAILER_FLAGS(`LOCAL', `+S')dnl > > define( `SMART_HOST', `shawmail.vc.shawcable.net')dnl > define(`confCW_FILE', `-o /etc/mail/local-host-names') > > DAEMON_OPTIONS(`Name=IPv4, Family=inet') > define(`confBIND_OPTS', `WorkAroundBrokenAAAA') > define(`confNO_RCPT_ACTION', `add-to-undisclosed') > define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy') > # Virtual hosts > FEATURE(virtusertable)dnl > VIRTUSER_DOMAIN_FILE(`/etc/mail/virtdomains')dnl > FEATURE(`virtuser_entire_domain')dnl > > MAILER(procmail)dnl > MAILER(smtp)dnl > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > >