I am sending an email from my machine devcentos5x64. the transcript below (hangs for 60 seconds) at the line: MAIL From:<root at devcentos5x64.msgnet.com> SIZE=56 AUTH=root at devcentos5x64.msgnet.com The email succeeds - but I am trying to figure out the 60 second delay. Neither email server is busy. Nothing is waiting. the DNS on both machines point to the same nameserver. The DNS responds very fast when looking up server names. What else can I look for to remove the slowness or delay? jerry ------------------------------------ date | mail -v -v -v -v geisj at pagestation.com geisj at pagestation.com... Connecting to [127.0.0.1] via relay... 220 devcentos5x64.msgnet.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 8 Feb 2010 10:02:15 -0500 >>> EHLO devcentos5x64.msgnet.com 250-devcentos5x64.msgnet.com Hello localhost [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 250-DELIVERBY 250 HELP >>> MAIL From:<root at devcentos5x64.msgnet.com> SIZE=56 AUTH=root at devcentos5x64.msgnet.com 250 2.1.0 <root at devcentos5x64.msgnet.com>... Sender ok >>> RCPT To:<geisj at pagestation.com> >>> DATA 250 2.1.5 <geisj at pagestation.com>... Recipient ok 354 Enter mail, end with "." on a line by itself >>> . 250 2.0.0 o18F2FMV002336 Message accepted for delivery geisj at pagestation.com... Sent (o18F2FMV002336 Message accepted for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 devcentos5x64.msgnet.com closing connection [root at devcentos5x64 src]#
Jerry Geis sent a missive on?2010-02-08:> I am sending an email from my machine devcentos5x64. the transcript > below (hangs for 60 seconds) at the line: MAIL > From:<root at devcentos5x64.msgnet.com> SIZE=56 > AUTH=root at devcentos5x64.msgnet.com > > The email succeeds - but I am trying to figure out the 60 second delay. > Neither email server is busy. Nothing is waiting. > > the DNS on both machines point to the same nameserver. The DNS > responds very fast when looking up server names. > > What else can I look for to remove the slowness or delay? > > jerry > > ------------------------------------ > > date | mail -v -v -v -v geisj at pagestation.com geisj at pagestation.com... > Connecting to [127.0.0.1] via relay... 220 devcentos5x64.msgnet.com > ESMTP Sendmail 8.13.8/8.13.8; Mon, 8 Feb 2010 10:02:15 -0500 >>> EHLO > devcentos5x64.msgnet.com 250- devcentos5x64.msgnet.com Hello localhost > [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING > 250-8BITMIME 250-SIZE 250- DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 > 250-DELIVERBY 250 HELP >>> MAIL From:<root at devcentos5x64.msgnet.com> > SIZE=56 AUTH=root at devcentos5x64.msgnet.com 250 2.1.0 > <root at devcentos5x64.msgnet.com>... Sender ok >>> RCPT > To:<geisj at pagestation.com> >>> DATA 250 2.1.5 > <geisj at pagestation.com>... Recipient ok 354 Enter mail, end with "." on > a line by itself >>> . 250 2.0.0 o18F2FMV002336 Message accepted for > delivery geisj at pagestation.com... Sent (o18F2FMV002336 Message accepted > for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 > devcentos5x64.msgnet.com closing connection [root at devcentos5x64 src]#Check your DNS resolution settings - it may be dns timeout.
On Mon, Feb 8, 2010 at 10:14 AM, Jerry Geis <geisj at pagestation.com> wrote:> I am sending an email from my machine devcentos5x64. > the transcript below (hangs for 60 seconds) at the line: > MAIL From:<root at devcentos5x64.msgnet.com> SIZE=56 > AUTH=root at devcentos5x64.msgnet.com > > The email succeeds - but I am trying to figure out the 60 second delay. > Neither email server is busy. Nothing is waiting. > > the DNS on both machines point to the same nameserver. The DNS responds > very fast when looking up server names. > > What else can I look for to remove the slowness or delay?Since you've checked DNS, try looking at your queue intervals and timeout settings. If it's exactly a 60 second delay it's probably a timeout value somewhere. If it's up to 60 seconds, look for the queue settings in both /etc/sysconfig/sendmail and in /etc/mail/sendmail.cf. You might also peek at the interfaces on the system as having more than one IP address can sometimes cause this slowness if not configured properly. Also, check the hosts file :)
Simon Billis sent a missive on?2010-02-08:> Jerry Geis sent a missive on?2010-02-08: > >> I am sending an email from my machine devcentos5x64. the transcript >> below (hangs for 60 seconds) at the line: MAIL >> From:<root at devcentos5x64.msgnet.com> SIZE=56 >> AUTH=root at devcentos5x64.msgnet.com >> >> The email succeeds - but I am trying to figure out the 60 second delay. >> Neither email server is busy. Nothing is waiting. >> >> the DNS on both machines point to the same nameserver. The DNS >> responds very fast when looking up server names. >> >> What else can I look for to remove the slowness or delay? >> >> jerry >> >> ------------------------------------ >> >> date | mail -v -v -v -v geisj at pagestation.com > geisj at pagestation.com... >> Connecting to [127.0.0.1] via relay... 220 devcentos5x64.msgnet.com >> ESMTP Sendmail 8.13.8/8.13.8; Mon, 8 Feb 2010 10:02:15 -0500 >>> EHLO >> devcentos5x64.msgnet.com 250- devcentos5x64.msgnet.com Hello localhost >> [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING >> 250-8BITMIME 250-SIZE 250- DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 >> 250-DELIVERBY 250 HELP >>> MAIL From:<root at devcentos5x64.msgnet.com> >> SIZE=56 AUTH=root at devcentos5x64.msgnet.com 250 2.1.0 >> <root at devcentos5x64.msgnet.com>... Sender ok >>> RCPT >> To:<geisj at pagestation.com> >>> DATA 250 2.1.5 >> <geisj at pagestation.com>... Recipient ok 354 Enter mail, end with "." on >> a line by itself >>> . 250 2.0.0 o18F2FMV002336 Message accepted for >> delivery geisj at pagestation.com... Sent (o18F2FMV002336 Message accepted >> for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 >> devcentos5x64.msgnet.com closing connection [root at devcentos5x64 src]# > > Check your DNS resolution settings - it may be dns timeout.Sorry to be more specific - make sure that devcentos5x64.msgnet.com is resolvable.
> > >>/ date | mail -v -v -v -v geisj at pagestation.com <http://lists.centos.org/mailman/listinfo/centos> > />/ geisj at pagestation.com... <http://lists.centos.org/mailman/listinfo/centos> > />>/ Connecting to [127.0.0.1] via relay... 220 devcentos5x64.msgnet.com > />>/ ESMTP Sendmail 8.13.8/8.13.8; Mon, 8 Feb 2010 10:02:15 -0500 >>> EHLO > />>/ devcentos5x64.msgnet.com 250- devcentos5x64.msgnet.com Hello localhost > />>/ [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING > />>/ 250-8BITMIME 250-SIZE 250- DSN 250-ETRN 250-AUTH DIGEST-MD5 CRAM-MD5 > />>/ 250-DELIVERBY 250 HELP >>> MAIL From:<root at devcentos5x64.msgnet.com <http://lists.centos.org/mailman/listinfo/centos>> > />>/ SIZE=56 AUTH=root at devcentos5x64.msgnet.com <http://lists.centos.org/mailman/listinfo/centos> 250 2.1.0 > />>/ <root at devcentos5x64.msgnet.com <http://lists.centos.org/mailman/listinfo/centos>>... Sender ok >>> RCPT > />>/ To:<geisj at pagestation.com <http://lists.centos.org/mailman/listinfo/centos>> >>> DATA 250 2.1.5 > />>/ <geisj at pagestation.com <http://lists.centos.org/mailman/listinfo/centos>>... Recipient ok 354 Enter mail, end with "." on > />>/ a line by itself >>> . 250 2.0.0 o18F2FMV002336 Message accepted for > />>/ delivery geisj at pagestation.com... <http://lists.centos.org/mailman/listinfo/centos> Sent (o18F2FMV002336 Message accepted > />>/ for delivery) Closing connection to [127.0.0.1] >>> QUIT 221 2.0.0 > />>/ devcentos5x64.msgnet.com closing connection [root at devcentos5x64 <http://lists.centos.org/mailman/listinfo/centos> src]# > />/ > />/ Check your DNS resolution settings - it may be dns timeout. > /Sorry to be more specific - make sure that devcentos5x64.msgnet.com is > resolvable. > >from pagestation.com I can "ping devcentos5x64.msgnet.com" - this entry is in the /etc/hosts file on that machine. There is no official MX record for devcentos5x64.msgnet.com there is for pagestation.com. on pagestation.com I have the /etc/hosts entry and /etc/mail/access entry for devcentos5x64.msgnet.com Perhaps its an MX lookup timeout value. I am looking for a timeout setting or a way to place an entry in a config file that says "I know this server or machine", trust it and dont delay. Is there such a setting? Jerry
Jerry Geis wrote:> I am sending an email from my machine devcentos5x64. > the transcript below (hangs for 60 seconds) at the line: > MAIL From:<root at devcentos5x64.msgnet.com> SIZE=56 > AUTH=root at devcentos5x64.msgnet.com > > The email succeeds - but I am trying to figure out the 60 second delay. > Neither email server is busy. Nothing is waiting. > > the DNS on both machines point to the same nameserver. The DNS responds > very fast when looking up server names. > > What else can I look for to remove the slowness or delay? >check reverse DNS, eg, looking up the PTR record for the IP's of both hosts.. if the subnet's in-arpa.addr zone is badly delegated, it could be timing out on that.
On Mon, Feb 8, 2010 at 8:12 AM, Jerry Geis <geisj at pagestation.com> wrote: [snip]> from pagestation.com I can "ping devcentos5x64.msgnet.com" - this entry > is in the /etc/hosts file on that machine. > There is no official MX record for devcentos5x64.msgnet.com there is for > pagestation.com. > > on pagestation.com I have the /etc/hosts entry and /etc/mail/access > entry for devcentos5x64.msgnet.com > Perhaps its an MX lookup timeout value. > > ?I am looking for a timeout setting or a way to place an entry in a > config file that says "I know this server or machine", trust it and > dont delay. Is there such a setting? >Rebuild sendmail.cf on devcentos5x64.msgnet.com to *not* use DNS. See http://www.sendmail.org/faq/section3/sf_highlight/configure+no+DNS#3.22 -- Enjoy global warming while it lasts.
Jobst Schmalenbach
2010-Feb-08 22:12 UTC
[CentOS] slowness in sendmail - 60 second timeout
One of the security features of sendmail is the REVERSE lookup. If sendmail cant reverse lookup and the entries dont match, no mail. You didnt specify whether devcentos5x64.msgnet.com is an internal host and there is some other mailserver higher up the stream. If so, use: define(`SMART_HOST', `MAIL_SERVER_UPSTREAM') This will solve many problems for a lot of setups. Jobst On Mon, Feb 08, 2010 at 10:14:29AM -0500, Jerry Geis (geisj at pagestation.com) wrote:> I am sending an email from my machine devcentos5x64. > the transcript below (hangs for 60 seconds) at the line: > MAIL From:<root at devcentos5x64.msgnet.com> SIZE=56 > AUTH=root at devcentos5x64.msgnet.com > > The email succeeds - but I am trying to figure out the 60 second delay. > Neither email server is busy. Nothing is waiting. > > the DNS on both machines point to the same nameserver. The DNS responds > very fast when looking up server names. > > What else can I look for to remove the slowness or delay? > > jerry > > ------------------------------------ > > date | mail -v -v -v -v geisj at pagestation.com > geisj at pagestation.com... Connecting to [127.0.0.1] via relay... > 220 devcentos5x64.msgnet.com ESMTP Sendmail 8.13.8/8.13.8; Mon, 8 Feb > 2010 10:02:15 -0500 > >>> EHLO devcentos5x64.msgnet.com > 250-devcentos5x64.msgnet.com Hello localhost [127.0.0.1], pleased to > meet you > 250-ENHANCEDSTATUSCODES > 250-PIPELINING > 250-8BITMIME > 250-SIZE > 250-DSN > 250-ETRN > 250-AUTH DIGEST-MD5 CRAM-MD5 > 250-DELIVERBY > 250 HELP > >>> MAIL From:<root at devcentos5x64.msgnet.com> SIZE=56 > AUTH=root at devcentos5x64.msgnet.com > 250 2.1.0 <root at devcentos5x64.msgnet.com>... Sender ok > >>> RCPT To:<geisj at pagestation.com> > >>> DATA > 250 2.1.5 <geisj at pagestation.com>... Recipient ok > 354 Enter mail, end with "." on a line by itself > >>> . > 250 2.0.0 o18F2FMV002336 Message accepted for delivery > geisj at pagestation.com... Sent (o18F2FMV002336 Message accepted for delivery) > Closing connection to [127.0.0.1] > >>> QUIT > 221 2.0.0 devcentos5x64.msgnet.com closing connection > [root at devcentos5x64 src]# > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos-- Student to Teacher: Sir, what's an oxymoron? .... Teacher to Student: "Microsoft Works". | |0| | Jobst Schmalenbach, jobst at barrett.com.au, General Manager | | |0| Barrett Consulting Group P/L & The Meditation Room P/L |0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia