Ok, tanmaya, I know that you are a very busy person, but I would like to have my problem solved.
I know such a problem is difficult to investigate, so, if you want, we can meet in an online chat (Livechat support, YM or whatever) and to try to solve it, me to do the tests and you to investigate on your side.
To have a start for this investigation, here are two logs. A SMTP connection for sending an email. The first session has set the timeout period at 30 seconds:
Thu 2006-11-23 18:43:32: [-1:13] > From: [email protected]
Thu 2006-11-23 18:43:32: [-1:13] > To: [email protected]
Thu 2006-11-23 18:43:32: [-1:13] > Subject: test
Thu 2006-11-23 18:43:32: [-1:13] > Message-ID: [email protected]
Thu 2006-11-23 18:43:32: [-1:13] Attempting to send message to gateway.
Thu 2006-11-23 18:43:32: [-1:13] Attempting SMTP connection to [mail5.mydomain.com : 25]
Thu 2006-11-23 18:43:32: [-1:13] A-record resolution of [mail5.mydomain.com] in progress (DNS Server: 194.102.204.101)…
Thu 2006-11-23 18:43:32: [-1:13] D=mail5.mydomain.com TTL=(362) A=[64.187.103.252]
Thu 2006-11-23 18:43:32: [-1:13] Attempting SMTP connection to [64.187.103.252 : 25]
Thu 2006-11-23 18:43:32: [512:13] Waiting for socket connection…
Thu 2006-11-23 18:43:33: [512:13] Socket connection established
Thu 2006-11-23 [COLOR=“Red”]18:43:33: [512:13] Waiting for protocol initiation…
Thu 2006-11-23 [COLOR=“Red”]18:44:03: [512:13] 30 second wait for protocol timeout exceeded.
Thu 2006-11-23 18:44:03: [512:13] SMTP session abnormally terminated, 0 bytes transferred.
Thu 2006-11-23 18:44:03: ----------
For the second session, I’ve raised the timeout period to 60 seconds:
Thu 2006-11-23 18:44:37: [-1:15] > From: [email protected]
Thu 2006-11-23 18:44:37: [-1:15] > To: [email protected]
Thu 2006-11-23 18:44:37: [-1:15] > Subject: test
Thu 2006-11-23 18:44:37: [-1:15] > Message-ID: [email protected]
Thu 2006-11-23 18:44:37: [-1:15] Attempting to send message to gateway.
Thu 2006-11-23 18:44:37: [-1:15] Attempting SMTP connection to [mail5.mydomain.com : 25]
Thu 2006-11-23 18:44:37: [-1:15] A-record resolution of [mail5.mydomain.com] in progress (DNS Server: 194.102.204.101)…
Thu 2006-11-23 18:44:57: [-1:15] D=mail5.mydomain.com TTL=(360) A=[64.187.103.252]
Thu 2006-11-23 18:44:57: [-1:15] Attempting SMTP connection to [64.187.103.252 : 25]
Thu 2006-11-23 18:44:57: [532:15] Waiting for socket connection…
Thu 2006-11-23 18:45:02: [532:15] Socket connection established
Thu 2006-11-23 [COLOR=“Red”]18:45:02: [532:15] Waiting for protocol initiation…
Thu 2006-11-23 [COLOR=“Red”]18:45:38: [532:15] 220 mail5.mhere.biz ESMTP
Thu 2006-11-23 18:45:38: [532:15] EHLO mydomain.com
Thu 2006-11-23 18:45:38: [532:15] 250-mail5.mhere.biz
Thu 2006-11-23 18:45:38: [532:15] 250-PIPELINING
Thu 2006-11-23 18:45:38: [532:15] 250-8BITMIME
Thu 2006-11-23 18:45:38: [532:15] 250-SIZE 52428800
Thu 2006-11-23 18:45:38: [532:15] 250 AUTH LOGIN PLAIN CRAM-MD5
Thu 2006-11-23 18:45:38: [532:15] MAIL From:[email protected] SIZE=646
Thu 2006-11-23 18:45:39: [532:15] 250 ok
Thu 2006-11-23 18:45:39: [532:15] RCPT To:[email protected]
Thu 2006-11-23 18:45:39: [532:15] 250 ok
Thu 2006-11-23 18:45:39: [532:15] DATA
Thu 2006-11-23 18:45:39: [532:15] 354 go ahead
Thu 2006-11-23 18:45:39: [532:15] Sending <C:\MDAEMON\REMOTEQ\pd50000000001.msg> to [64.187.103.252]
Thu 2006-11-23 18:45:39: [532:15] Transfer Complete.
Thu 2006-11-23 18:45:39: [532:15] 250 ok 1164300105 qp 19526
Thu 2006-11-23 18:45:39: [532:15] QUIT
Thu 2006-11-23 18:45:40: [532:15] 221 mail5.m****here.biz
Thu 2006-11-23 18:45:40: [532:15] SMTP session successful, 704 bytes transferred.
Thu 2006-11-23 18:45:40: ----------
As you see, the “protocol initiation” takes over 30 seconds, sometimes 40 or 50, and that is the problem. And it occurs only when sending emails from IP addresses that have wrong reverse DNS entries AND only to servers hosted by me trough you.
This log was created with MDaemon, I’ve installed it to have a timestamped log. But for everyday use, my customers use e-mail clients like Thinderbird, and setting another timeout period is if not difficult but for sure annoying - why to wait 30 - 50 seconds for an email to be sent?
Please be kind and help me in this issue, because I’m running out of excuses for my customers…