Dave Sill <[EMAIL PROTECTED]> writes:

> I configured mutt to run a tmda-sendmail wrapper that runs it under
> strace. It looks like the delays are DNS timeouts, but I can't
> figure out why it'd be doing so many lookups or why they'd time out.

[...]

> Connecting directly to port 25 via:
>
>   telnet localhost 25
>
> is nearly instantaneous.

Yes, but did you go through a full SMTP conversation?

Some suggestions: Try going through a full SMTP conversation from
telnet.  Try using an SMTP client such as Mozilla mail on localhost
and see if you see the same delays.

Also try the following simple Python script to see if you can isolate
the delay.

#!/usr/bin/env python
#
import smtplib

mail_from = '[EMAIL PROTECTED]'
data = 'this is a test'
# change these variables
mail_to = 'jasonrm'
smtphost = 'localhost'

server = smtplib.SMTP(smtphost)
server.set_debuglevel(1)
server.sendmail(mail_from, mail_to, data)
server.quit()

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to