Very slow connection to SMTP

User Help for Mozilla Thunderbird
Post Reply
alexo
Posts: 199
Joined: January 23rd, 2005, 7:21 pm
Location: Canada, GTA

Very slow connection to SMTP

Post by alexo »

Hello:

When sending email from Thunderbird, it consistently takes 30 seconds to connect to the SMTP server.

Log excerpt (SMTP logging level 5):

Code: Select all

2019-02-06 17:25:10.693000 UTC - 1376[3a10140]: SMTP Connecting to: mail.messagingengine.com
2019-02-06 17:25:40.795000 UTC - 1376[3a10140]: SMTP entering state: 0
However, telnet mail.messagingengine.com 465 connects instantaneously.

Any ideas?

Thank you!
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Very slow connection to SMTP

Post by tanstaafl »

I have a Fastmail IMAP account using the legacy servers too. No connection problems or delays when sending. I am configured to have the SMTP server save a copy, rather than upload a copy via IMAP (using Thunderbird), but that doesn't effect the connection to the SMTP server.

Their main servers are located at New York Internet (NYI) in Bridgewater, New Jersey, USA. Since I'm in the USA and you're in Canada we both should be using the same servers.

Do you have a similar problem reading messages using your IMAP account?

Perhaps your anti-virus software or some other security software is the culprit since it doesn't effect telnet. If you have your anti-virus scanner configured to scan outgoing messages I suggest you disable that feature. Its not worth the hassles it causes.
alexo
Posts: 199
Joined: January 23rd, 2005, 7:21 pm
Location: Canada, GTA

Re: Very slow connection to SMTP

Post by alexo »

I don't have any antivirus other than the standard Windows 10 defender, and it is not scanning outgoing email
The consistent 30 seconds delay sounds like some sort of a timeout on FM's side.

There are no problems with reading
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Very slow connection to SMTP

Post by tanstaafl »

Try configuring Thunderbird not to save a message and send a message. See if you have the same delay. I'd like to rule out any possibility, not matter how remote, that problems uploading a copy of your message is causing your problem. The reason why I configured Fastmail to save a copy of the message instead of Thunderbird is because frequently sending (via SMTP) worked okay but the uploading (via IMAP) failed. They're using different protocols, but the same server, and operate independently. I've actually had it save a copy of a sent message that it failed to send :)
User avatar
tanstaafl
Moderator
Posts: 49647
Joined: July 30th, 2003, 5:06 pm

Re: Very slow connection to SMTP

Post by tanstaafl »

Did you also create http://www.emaildiscussions.com/showthread.php?t=74166 ?

I'm asking in case there is anything useful in a reply to it.
alexo
Posts: 199
Joined: January 23rd, 2005, 7:21 pm
Location: Canada, GTA

Re: Very slow connection to SMTP

Post by alexo »

The problem is a delay during the SMTP connection, and it is consistently 30s, which makes me suspect a timeout.

And yes, I created that thread.
Post Reply