Recurring IMAP connection errors

After installing El Capitan I have recurring issues (like ever thirty minutes or so) where Mail is unable to make the IMAP connection with my three IMAP accounts. SMTP works fine according to Connection Doctor, but IMAP returns all red.


Not sure if this is an issue with Mail or with my internet connection in general.


Anyone else have this issue?


User uploaded file


Message was edited by: jakoeshall; Added image.

MacBook Pro (Retina, 13-inch, Late 2013), OS X El Capitan (10.11), null

Posted on Oct 8, 2015 11:46 PM

Reply
9 replies

Nov 20, 2015 11:19 PM in response to Glenn Leblanc

I'm not the OP but I have the same problem and have tried both rebooting and resetting all three of my IMAP accounts with no success. Sometimes restarting Mail will cause the IMAP connections to work for awhile but eventually the connections always fail. Since all of my IMAP accounts fail simultaneously, I suspect there is something in El Cap's version of IMAP that causing the problem.

Nov 28, 2015 4:44 AM in response to Glenn Leblanc

I have exactly the same issue - IMAP connections fail. I have 2 Rackspace accounts and 2 Gmail accounts configured with Apple Mail - the problem happens with all 4. After a short period of time I can't make an IMAP connection. I first discovered this because I couldn't put items in the trash. When attempting to trash items there is a small 'Copying Message' displayed in the bottom left corner of Apple Mail. When IMAP connection is working properly this message pops up and goes away very quickly. When IMAP connections are not working this message is displayed for a minute or so before getting an error message that items cannot be moved to the trash and they are returned to the inbox (or whatever box they were in before I attempted to trash them).


User uploaded file


It took me a while to figure out that this was only related to IMAP connections, as others have reported I don't have any problem making SMTP connections.


User uploaded file


I initially suspected this was related to Apple Mail so I downloaded and installed Air Mail (a very good client, BTW), but I had the same problem. As others have also reported, quitting Apple Mail and restarting fixes the problem temporarily, and so does restarting the computer. I've also discovered that if you switch network connections the problem is also temporarily fixed.


I've tried every combination of settings: changing IMAP ports, SSL/non-SSL, hostnames, IPs, and I've tested on my work network and at home. I've also followed the steps others have posted whereby I've removed accounts, re-installed, I've even set up a brand new account and it has the same problems. It seems the only common component is El Capitan and my MacBook Pro (2015).


This is such a headache for me that I've started managing my mail in the web interfaces for Gmail and Rackspace mail, but I have such a lot of email I'm thinking of rolling back to Yosemite. I'll post an update if I decide to try that.


Anyone else find any other permanent solution rather than rolling back to Yosemite?


Thanks.

Dec 1, 2015 4:32 PM in response to anthillinc

I ran across this article from 2014 and the poster said it's still a problem with Mail under El Cap: https://www.inmotionhosting.com/support/email/mac-mail/disable-imap-idle-mac-mai l

After I unchecked the idle setting, I am getting many fewer IMAP failures and the one I do get seem to "cure" themselves within a short period of time without my having to kill and restart Mail. So still not a full solution at this point.

Hope this helps someone else.

Jan 21, 2016 4:24 AM in response to Sue Holloway

Also struggeling with this, but unchecking IDLE seems to help...

After unchecking IDLE I still had AUTOMATIC set for when to check for mail. I sent a couple of emails to myself and noted that it did not check for mail AT ALL unless I clicked the "check mail" button manually. So I changed the setting to EVERY MINUTE and now it seems to work with a max 1 minute delay from when I sent the email. So far so good.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Recurring IMAP connection errors

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.