Re: Sendmail greeting delay

2015-01-13 Thread David Parker
Just for the sake of completeness, this wasn't actually an issue with the GreetPause option or anything else in the access file. The problem was that sendmail was attempting an IDENT query to the client, with a 5-second timeout. The access file wasn't even checked until after the timeout expired.

Re: Sendmail greeting delay

2015-01-13 Thread David Parker
Thanks, but it looks like the IDENT setting was the culprit. I just had to change this setting in sendmail.cf: O Timeout.ident=5s Changing it from 5s to 0s resolved the problem immediately. Thanks again, everyone! On Tue, Jan 13, 2015 at 3:07 PM, Jonathan Siegle wrote: > On 2015-01-13 at

Re: Sendmail greeting delay

2015-01-13 Thread Jonathan Siegle
On 2015-01-13 at 12:38, David Parker wrote: Hello, My /etc/mail/access file is pasted below.  The PC I'm testing from is on the 10.x.x.x network, which should be allowed to connect with no delay.  I have also tried setting the default GreetPause to "0" but it still made no difference. ##

Re: Sendmail greeting delay

2015-01-13 Thread David Parker
Yes! That seems to be the culprit. I ran an strace on the sendmail process and that's exactly what happens: [ ... ] 4007 15:09:08.386921 connect(5, {sa_family=AF_INET, sin_port=htons(113), sin_addr=inet_addr("10.3.1.40")}, 16 3792 15:09:13.386272 <... select resumed> ) = 0 (Timeout) [ ... ]

Re: Sendmail greeting delay

2015-01-13 Thread Joe
On Tue, 13 Jan 2015 20:12:11 + Joe wrote: > On Tue, 13 Jan 2015 14:27:42 -0500 > David Parker wrote: > > > Thanks for the replies. > > > > The system is not using tcpwrappers, and it's also not a DNS issue. > > The client PC does have a reverse DNS entry. A tcpdump packet > > capture on t

Re: Sendmail greeting delay

2015-01-13 Thread Joe
On Tue, 13 Jan 2015 14:27:42 -0500 David Parker wrote: > Thanks for the replies. > > The system is not using tcpwrappers, and it's also not a DNS issue. > The client PC does have a reverse DNS entry. A tcpdump packet > capture on the server shows the initial connection from the client > followe

Re: Sendmail greeting delay

2015-01-13 Thread David Parker
Thanks for the replies. The system is not using tcpwrappers, and it's also not a DNS issue. The client PC does have a reverse DNS entry. A tcpdump packet capture on the server shows the initial connection from the client followed by a bunch of DNS traffic, all within the same second. Then nothi

Re: Sendmail greeting delay

2015-01-13 Thread Chris Davies
David Parker wrote: > We have an SMTP server running Sendmail 8.14.4-4 on Debian 7 64-bit. > Kaccess hash -T /etc/mail/access > # FEATURE(`access_db', `hash -T /etc/mail/access', `skip')dnl > For some reason, I just can't get it to not pause when greeting external > (non-localhost) connections.

Re: Sendmail greeting delay

2015-01-13 Thread Burhan Hanoglu
On Tue, Jan 13, 2015 at 7:38 PM, David Parker wrote: > Hello, > > We have an SMTP server running Sendmail 8.14.4-4 on Debian 7 64-bit. > We're using the file /etc/mail/access for access control and rate limiting, > and this is enabled via the following lines in /etc/mail/sendmail.cf: > > Kaccess

Sendmail greeting delay

2015-01-13 Thread David Parker
Hello, We have an SMTP server running Sendmail 8.14.4-4 on Debian 7 64-bit. We're using the file /etc/mail/access for access control and rate limiting, and this is enabled via the following lines in /etc/mail/sendmail.cf: Kaccess hash -T /etc/mail/access # FEATURE(`access_db', `hash -T /etc/mail