You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mavericks Mail not sync'ing IMAP act. (Not GMail)

I have been waiting silently to see if a fix would come on its own, but none yet. Ever since upgrading to Mavericks, Mail.app does NOT sync my IMAP accounts correctly. I have gone so far as to remove and re-add the accounts numerous times... no change. The recent "update" that was supposed to address Gmail issues had no affect on my sync'ing issues either. As others have posted, I basically have to quit and re-launch mail for it to correctly show what is on the mail server. All of my iDevices are working just fine - I can read or move an email, and all my iDevices show it correctly... but when I return to my Mac - some show as unread - some messages that I moved or deleted are still THERE (unread), etc.


Once I quit and relaunch, the inbox displays correctly - but there is no way (that I can find) to force the inbox to "refresh" correctly while the app is open. "Getting new" messages does nothing to help. Has anyone found a solution or work-around...? or is this just a "sit back and wait for Apple to fix" kind of problem...?


Thanks,

SF

Posted on Nov 13, 2013 5:16 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 13, 2013 5:27 AM

Mail is not connecting to the server after OS X Mavericks update. Meanwhile the same setting is working from Ipad, Iphone and even in windows mail. We have an exclusive mail server in our office. Connecting to mail server is easy only on the same server network with the same setting only by changing the server local address, but not working by the server IP from the internet.

404 replies

Jan 16, 2014 1:32 PM in response to RazorV

Razor V,


Probably only the credit card info across all the OS X devices. Calendars, notes, contacts, etc. is a separate thing for iCloud. Keychain was added with Mavericks.


I've noticed a couple times that leaving Keychain on caused the syncing problem to resurface. I've redone the procedure and with leaving Keychain off (as my lasted update suggests) and the syncing issue has not returned thus far.

Jan 16, 2014 1:34 PM in response to Scott Finlayson

Scott-- I agree. I'm a user who tried everything suggested and it never worked. This is the first thing that has worked for me.


I have a question out of mere curioisity. You have Keychain off, and you say always had it off. Back when all this started and several users suggested deleting the Mail folder, did you do that and it still didn't fix the Mail problem for you?

Jan 17, 2014 8:51 AM in response to Scott Finlayson

With FriarOP going for an entire day or two with Mail still working, I decided to try it out. Not only is it working - it's zippier than it's been in a very long time!


Just a couple of items to add to FriarOP's process

  1. If you're in the habit of saving a lot of emails locally within Mail and deleting them from your IMAP account, be sure to save those mailboxes before trashing ~/library/Mail. You can then reimport them later.
  2. If your Gmail account has anywhere close to the number of emails as mine, the sync will take a very long time. You can monitor that in the activity window (Window > Activity).You might consider following all of FriarOP's steps, then begin the first sync in the evening, go pour some scotch, watch some TV, go to bed and wake up to a brand new zippy Mail.app in the morning.
  3. Lather, rinse, repeat for your other accounts if they're big.


As promised … 3 cheers for FriarOP. I nominate our local Friar for the "Most-helpful-post-in-this-thread-and-probably-the-entire-discussilon-board-and- maybe-even-the-world" award for the month of January!

Jan 17, 2014 12:52 PM in response to hab1

Yes, CHEERS for FriarOP!!!


I was not getting mail and Mail refused to Quit. Had to Force Quit even though it was NOT shown as Not Responding. Followed FriarOP's procedure and mail works now.


However, I did not have Keynote enabled, from even before updating to OS 10.9.1 and Mail 7.1. So maybe it's iCloud itself that is the problem. For the moment I have not added my iCloud account.


Also, when I went to trash my Mail Library I found it was not there. Is it stored anywhere except in the Library folder?


In any case, Mail is working now!

Jan 17, 2014 1:02 PM in response to hab1

Thanks hab1 and Beto3645...


I hope it continues for you. I'm still going 3 days in. No problems at all when following I followed updated process: https://discussions.apple.com/thread/5556036?answerId=24529212022#24529212022


Beto365 -- There are a couple of library folders. You need to go to the one in your user area, which is normally hidden. But you can get to it by going to Finder, then selecting "Go" at the top of the screen then selecting "Go to Folder" and typing in ~/Library ...


It's interesting that the process worked without you deleting the mail folder. When you do you enable your iCloud account, remember don't turn on Keychain. I really think Keychain is messing things up on Mavericks, and it eventually denigrates things (as I noticed on one of my machines in my initial process).


Hopefully Apple will find the bug and fix it so we can actually use Keychain on Mavericks, but I won't be turing it on until there's an update where the release notes mention that Keychain has been fixed.

Jan 17, 2014 1:19 PM in response to FriarOP

I've been watching these exchanges for a few days now. Well done FriarOP, you have other people following your process and publishing their success, so you have cracked something that the rest of us have been frustrated with for more than 2 months.


I don't pretend to understand exactly what goes on (who am I to understand it when Apple clearly don't), but from what you have been saying its all to do with Keychain in iCloud, and from what Iunderstand Keychain was introduced with Mavericks which is when the problem occured. So I get that, at a high level at least.


But why do you think that I had the problem (along with the rest of the world) when I have never activated Keychain? I didn't know what it was when it first appeared as an option so I have never turned it on. The only things I have controlled under iCloud are contacts, calendars, reminders, safari and documents/data. Specifically Mail and Keychain are left unchecked. (Mail because I have 3 Gmail IMAP accounts, so I don't need iCloud to manage them).


I'd be interested in your views on this.


(By the way, I havent implemented your procedure yet as I stopped using Mail 3 weeks ago when I switched to Airmail, bacause of the problems. Airmail works and I'm happy with it. But I would like to the Apple Mail working again sometime, ideally with Apple making the fix! Have you formally reported your process to Apple by the way?)

Jan 17, 2014 1:31 PM in response to mumbles2701

Sorry Mumbles, I don't use Tags in Apple Mail or in Gmail. I'm not sure how to rebuild them.

mumbles2701 wrote:


i have Indev Tags on my Mail [indev.ca] which uses a database to tag and keeps the database somewhere in the mail folder. I'm going to ask them directly, but does anyone here know if those tags can be rebuilt and how that works [ie how it knows in my re-added Mail accounts] how which tag knows to be on which mail?

Jan 17, 2014 1:48 PM in response to Scott Finlayson

I trashed and deleted my entire mail directory, deleted my accounts in Mail Prefs, and started over rebuilding from scratch, and although for a short time it seemed to improve performance, I'm now back to all sorts of the same problems:


• mail not syncing with gmail

• mail not syncing with exchange

• extremely slow to sync, delete, etc.

• exchange mail severely delayed


Quitting and restarting mail seems to clean out the pipes, which I now do every 30 minutes or so... but like I said, the scorched earth / nuclear option was only a temp fix. Then things slowly went back to broken and borked... 😟

Jan 17, 2014 2:59 PM in response to FriarOP

I was the user who posted the detailed procedure 12/20 about having had some success deleting the gmail account on the Mac and deleting the mail folder (then adding back the gmail account so it repopulated from gmail via IMAP). That solved a lot of this but after a couple of days I noticed one lingering problem where the sync would be slightly off if I moved mail around on my iOS devices, e.g. move an email to a folder on my iPad. As long as I didn't do that all worked well. When I did that it from an iOS device it wouldn't always cascade that action to my Mail app, leaving the sporadic document in my inbox. That was still way better than before applying my "fix" and tolerable so I've been pretty happy ever since. Because I made that post, though, I've seen all these subsequent posts and liked what FriorOP suggested. It just made sense based on my testing and the last lingering problem. Today I tried FriorOP's solution and it is working well so far and even my numerous tests with moving files around from iOS devices and marking mail unread -- every test actually - has worked perfectly across all devices so far. This is looking very very good so far.

Jan 18, 2014 4:32 AM in response to FriarOP

Seems like so-far, this is a lasting solution.


Either today or tomorrow, I will navigate back to the latest incarnation of the steps - but I want to be sure about saving/protecting all of my old email folders first-and-foremost. I need to be sure I am not deleting my local (non-IMAP) folders which have well-over a decade of assorted correspondence and files. Once I feel confident that I am not doing anything stupid (on MY part - not the instructions)... I will give this solution a try.


Kudos for working this out.

Jan 18, 2014 4:39 AM in response to PDXgeek

PDXgeek wrote:


I trashed and deleted my entire mail directory, deleted my accounts in Mail Prefs, and started over rebuilding from scratch, and although for a short time it seemed to improve performance, I'm now back to all sorts of the same problems:


• mail not syncing with gmail

• mail not syncing with exchange

• extremely slow to sync, delete, etc.

• exchange mail severely delayed


Quitting and restarting mail seems to clean out the pipes, which I now do every 30 minutes or so... but like I said, the scorched earth / nuclear option was only a temp fix. Then things slowly went back to broken and borked... 😟


Okay, I just read this after my previous post.


Let me ask you - and this is important:


Did you try things on your own in an order of your choosing...? Or did you follow FriarOP's direction step-by-step...? And I mean, in exact order and not skipping steps.


That's very important to know. If you DID follow those specific instructions and you are still having issues, then that means this really might be an Apple-only fix. If you did your OWN problem solving and/or did a variation on the instructions posted here, it might be that FriarOP's solution still DOES work and that you just need to reattempt to the specifics of those instructions.


I am curious to hear about this.

Thanks

Mavericks Mail not sync'ing IMAP act. (Not GMail)

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