Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Apr 2010 18:08:43 -0700
From:      Bruce Ferrell <bferrell@baywinds.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sendmail Five Second Greeting Delay
Message-ID:  <4BB5439B.9040304@baywinds.org>
In-Reply-To: <201004011751.27767.npapke@acm.org>
References:  <201004011751.27767.npapke@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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<TMPF> /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"
>
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BB5439B.9040304>