0

I am really baffled by sendmail sending emails to one particular host. It seems absolutely fine while communicating with other servers, but on a particular host it just hangs at the very end:

050 250 local recipient ok
050 >>> DATA
050 354 Command DATA Start mail input; end with <CRLF>.<CRLF>
050 >>> .

The last line is just hanging for 3-4 minutes before continues to

050 250 message sent ok 
2
  • 1
    I'm reminded of this: ibiblio.org/harris/500milemail.html Feb 12, 2013 at 17:32
  • :) However, the 500 mile mail is about the timeout to connect to the remote server. This is about disconnecting after submitting email.
    – adamo
    Feb 13, 2013 at 7:20

1 Answer 1

1

This look like a DNS timeout issue. I think that the remote server is checking your reverse DNS for the primary IP of your mail server.

It could be an anti-spam policy - to delay incoming connection so that the server is not desirable for spammers.

It could be their DNSBL or other anti-spam or anti-virus modules on their server that are slow.

3
  • It cannot be a DNS timeout because the delay does not happen when the server initiates the connection (and hence it could be a FEATURE(greet_pause) setting or DNS). This happens after the sender issues the final dot, signaling the end of message. It may be due to content filtering in combination with heavy load on this server.
    – adamo
    Feb 13, 2013 at 7:17
  • @adamo, I am thinking that it could be possible that it is doing a reverse DNS query for the mail header, or envelope. Feb 13, 2013 at 16:03
  • I agree to that.
    – adamo
    Feb 13, 2013 at 22:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .