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

Apr 1, 2014 12:29 AM in response to Scott Finlayson

I have a workaround. Annoying, but it works. Use the following script whenever you want to force a sync:


tell application "Mail"

set myAccounts to name of every account

repeat with myAccount in myAccounts

tell imap accountmyAccount

try

if enabled then

set enabled to false

set enabled to true

end if

end try

end tell

end repeat

end tell


If you want this happening automatically, say every 5 minutes, extend the above script as follows, and save it as an application with the option to keep it running:


on idle

tell application "Mail"

set myAccounts to name of every account

repeat with myAccount in myAccounts

tell imap accountmyAccount

try

if enabled then

set enabled to false

set enabled to true

end if

end try

end tell

end repeat

end tell

return 300

end idle

Apr 2, 2014 5:51 AM in response to Scott Finlayson

I've been having this problem for awhile now as well and have recently made a change that I think has helped and hopefully more of you can confirm the same success (assuming you have similar setups).


I own a MacBook Pro, iPhone, and iPad – all configured to check my IMAP mail at GoDaddy. I recently set my iPhone and iPad to "manually" check mail as opposed to "fetch". I close the Mail app on both devices while I'm at my computer and my mail retrieval seems to be MUCH improved. I don't have much more than a few days with this setup but so far so good.

Apr 2, 2014 5:52 AM in response to franconi

The following script works in a more transparent way (it willnot periodically put your accounts offline). It works for me.


on idle

if application "Mail" is running then

tell application "Mail"

repeat until (background activity count) = 0

delay 10

end repeat

tell application "System Events" to tell process "Mail"

set theMenu to menu "Mailbox" of menu bar 1

if enabled of menu item "Take All Accounts Offline" of theMenu then

try

click menu item "Take All Accounts Offline" of theMenu

end try

repeat until enabled of menu item "Take All Accounts Online" of theMenu

end repeat

try

click menu item "Take All Accounts Online" of theMenu

end try

end if

end tell

end tell

end if

return 300

end idle

Apr 2, 2014 6:42 AM in response to Atlanta Yankee

Dear Yankee,

I think you are on the right track. The "fetch" issues too many requests to the IMAP server and with multiple devices from the same IP-address hitting the same user-ID the maximum number of connections is exceeded. I reduced my handheld devices and the problem got (slightly) better on one email account. The other account (with a different provider) was blocked several times a day due to suspected DoS attack because too many requests were coming from my 4 devices (and also from icloud?), after I removed two of them (and icloud!) the problem with this provider was gone.


For my iphone I disabled the WiFi at home (and thus it was now hitting the IMAP server from a different IP-address via the mobile phone network) and the problem immediately stopped on this device.

Apr 5, 2014 3:46 PM in response to Scott Finlayson

Hey! So I tried changing setting in gmail because that is where my email is stored and I think the below settings corrected everything. I think the problem is acutally gmail not apple. Make sure you sync in your mail account too before you even make any changes.


IMAP Access:
(access Gmail from other clients using IMAP)
Learn more

Status: IMAP is enabled



When I mark a message in IMAP as deleted:


When a message is marked as deleted and expunged from the last visible IMAP folder:


Folder Size Limits


Configure your email client (e.g. Outlook, Thunderbird, iPhone)
Configuration instructions

May 8, 2014 10:05 PM in response to Scott Finlayson

I fought with this for two weeks before I found a solution. Create a new account following these instructions. Substitute the server names and ports you need to set up your account. Don't add "mail." to the server name unless that is really part of the server's name. There's something weird about having to use the email address as a user name that this fixes. Good Luck.

May 11, 2014 4:41 AM in response to Lukcresdera

I have the same problems with my IMAP GoDaddy email on my macbook pro (2009) OS 10.8.5, apple mail 6.6 (1510). I never had this problem with 10.6.8. I recently upgraded my os so thought maybe that was the problem.


Email syncs eventually but chuncks of them are about 12-18 hours behind. iPhone, iPad sync perfectly and immediately. Strangely, if I send a test, I will receive it, but all the emails that should've come in for the previous 12 hours haven't synced yet.


Incidentally, I have another GoDaddy IMAP account that syncs just fine in apple mail.


GoDaddy says it's not their problem if the email is sending and receiving online.


Apple says it's GoDaddy's problem.

May 11, 2014 4:26 PM in response to Scott Finlayson

A very simple solution if you have 2-step verification turned on in Gmail: you need to make sure that your passwords are taken from the 2-step verification code, not from your normal Google accounts password, and you need to have this saved in three places:


1. System Preferences/Internet Accounts: Google settings/ Details/ (password)


2. Mail App Accounts/ Account information (password)


3. Mail App Accounts/ SMTP outgoing server settings/Advanced (password)


That should solve your issues.

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.