This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

A month after my ISP migrated my email, I am getting "Unable to connect to your IMAP server" errors.

  • 5 cavab
  • 2 have this problem
  • 14 views
  • Last reply by Toad-Hall

more options

My local ISP has been part of several mergers, and my two email accounts are now a sort of legacy product for them. When they were first migrated to "an improved platform", I followed the service center's poorly worded instructions on how to "Setup email in mozilla thunderbird." For a month, both accounts worked, incoming and outgoing. As of 7.29, I am getting repeated error messages: "Unable to connect to your IMAP server. You may have exceeded the maximum number of connections to this server. If so, use the advanced IMAP Server Settings dialoge to reduce the number of cached connections." It seems counter-intiuitive to *reduce* the number of cached connections but I've tried this, all the way to 1, and then several higher numbers. Nothing works. Is this an ISP / server problem or a Thunderbird problem? Why would I be able to download and send from both accounts for a month, then have it stop? And why would reducing the number of cached connections help?

My local ISP has been part of several mergers, and my two email accounts are now a sort of legacy product for them. When they were first migrated to "an improved platform", I followed the service center's poorly worded instructions on how to "Setup email in mozilla thunderbird." For a month, both accounts worked, incoming and outgoing. As of 7.29, I am getting repeated error messages: "Unable to connect to your IMAP server. You may have exceeded the maximum number of connections to this server. If so, use the advanced IMAP Server Settings dialoge to reduce the number of cached connections." It seems counter-intiuitive to *reduce* the number of cached connections but I've tried this, all the way to 1, and then several higher numbers. Nothing works. Is this an ISP / server problem or a Thunderbird problem? Why would I be able to download and send from both accounts for a month, then have it stop? And why would reducing the number of cached connections help?

All Replies (5)

more options

The server sets the limits on the number of cached connections.

If you use a phone to also view emails on server then that will also count towards number of connections. So, first make sure your phone has properly disconnected from the server. If you have an apple device (eg: ipad) getting mail turn it off. They have no limit in the number connections they will use which makes sharing difficult.

more options

I am receiving the ""Unable to connect to your IMAP server. You may have exceeded the maximum number of connections to this server. If so, use the Advanced IMAP Server Settings dialog to reduce the number of cached connections." error message.

I am running Thunderbird version 68.2.1 under windows 10. There are four accounts connected via Thunderbird. I also connect using a Samsung S9.

I have tried varying the number of permitted IMAP connections between 1 and 10 with no result. I have also disabled the Norton incoming email scan, again to no avail. The strange thing is that all of the accounts seem to be working perfectly.

Doesn't seen to make any sense.

more options

Email servers place limits on the number of inbound connections to the server to prevent users from opening up too many concurrent sessions. Unfortunately, this restriction can impact legitimate users who have multiple computers connecting to their server from behind a firewall or a single computer that takes advantage of mailbox caching.

The error you are seeing indicates that the server has set a limit in the total amount of connections that you can make with your account (across all devices at that current time) and you have reached that limit.

It results in the exceeded max number of connections message that you are seeing.

Reducing the amount of folders that you are synchonising should resolve this issue. It can also help if you increase the checking for new mail interval to at least 10 minutes.

Set a lower threshold in Thunderbird for each mail account. Account Settings > Server Settings > 'Advanced' button Choose lower than 5 eg: 3 or even 1


Phones, ipad etc: eg: Make sure the Samsung has disconnected from server and is temporarilly switched off.

To force closure of connections to reset everything:

For one of your accounts:

  • Right click on imap mail account in Folder Pane and select 'Settings'
  • Select 'Server Settings'
  • uncheck 'check for new messages at start up'
  • uncheck 'check for new messages every xx minutes'
  • uncheck 'allow immediate server notifications when new messages arrive'
  • click on 'Advanced' button
  • set the 'max number of server connections' to 3
  • click on OK
  • Click on OK

Restart Thunderbird. See what happens when you start Thunderbird. If no improvement restore all 3 of check for new messages etc, set 'check for new messages every 10 minutes' or more, but leave the mac connections set as 3. Then do the same process for another account. Repeat until checked all accounts.

more options

I am having the same problem with Thunderbird "unable to connect to your Imap server...." What is considered as the amount of folders that are sychronized?give an example please. Also what is meant by : The error you are seeing indicates that the server has set a limit in the total amount of connections that you can make with your account (across all devices at that current time) and you have reached that limit.

It results in the exceeded max number of connections message that you are seeing.

more options

Another possibility for causing exceeded max number of connections message that you are seeing. It is possible the Anti-Virus product on your computer is scanning incoming/outgoing emails and keeping a session open. Test by starting computer in 'Safe Mode with Networking' and then start Thunderbird or stop your AV product from scanning Thunderbird folders on start up and stop scanning incoming and outgoing emails.