[CentOS] slowness in sendmail - 60 second timeout

Mon Feb 8 22:12:27 UTC 2010
Jobst Schmalenbach <jobst at barrett.com.au>

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