Apple Intelligence now features Image Playground, Genmoji, Writing Tools enhancements, seamless support for ChatGPT, and visual intelligence.

Apple Intelligence has also begun language expansion with localized English support for Australia, Canada, Ireland, New Zealand, South Africa, and the U.K. Learn more >

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.

Mail Connections Lost After Sleep (Ports Fail)

I am having the problem that others are having regarding Mail reconnecting after sleep. Typically, it fails to connect to my Company IMAP server, and the IMAP Gmail server (but connects to the Gmail SMTP server). It looks like this in Connection Doctor:


User uploaded file


I have done the following already:

1. Deleted and reinstalled the accounts

2. Reinstalled Mountain Lion from network

3. Reset my SMC


I have searched for any firewall that would mess it up, but have come up with nothing. Here is the readout from Terminal:


ls: /Library/InputManagers: No such file or directory

ls: /Library/Mail/Bundles: No such file or directory

ls: /Users/KyleEssary/Library/Mail/Bundles: No such file or directory

/Library/LaunchAgents:

com.Cvnt.start.plist

com.amazon.sendtokindle.launcher.plist


/Library/LaunchDaemons:

com.Cvnt.daemon.plist

com.adobe.fpsaud.plist


/Library/StartupItems:


/Users/KyleEssary/Library/LaunchAgents:

com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.DB72A0D3-A7F5-42AA-B8C0-B9F DD21F52AE.plist


The CVnt plist is from an app that I added long after I noticed this problem. The problem was the same before and after installing that app.


Whenever I run the Network Utility following a wake from sleep on typical ports, I get this:


User uploaded file


Whatever the issue may be, it apparently starts on sleep because Power Nap has yet to work. I have had this issue since installing Mountain Lion and would appreciate any help.

MacBook Air (13-INCH, MID 2011), OS X Mountain Lion (10.8.1)

Posted on Sep 5, 2012 12:36 AM

Reply
127 replies

Aug 30, 2013 10:32 AM in response to marcmeyer

I was having this problem for a few weeks, but I believe I finally fixed it! I am cautiously optimistic. I tried this and so far have been able to sleep and resume and imap accounts reconnect.....


1. Quit mail.app

2. Go to the folder ~/Library/Containers/com.apple.mail/Data/Library/Preferences

3. Move com.apple.mail.plist to the trash

4. Launch mail.app


I hope it works for you too!

Sep 9, 2013 5:55 AM in response to matt2053

Changed my DNS to 8.8.8.8 (suggested somewhere on this site) for some other reason (my router's and ISP's DNS services not being very good I think) and hey presto fixed this at the same time.


I had resisted doing this but it's not too hard if you are prepared to dive into Settings --> Network --> Wi-Fi (or maybe Ethernet if you have hard-wired connection) --> Advanced... button bottom right --> DNS --> Press the + underneath the "DNS servers" pane, bottom left, and type in 8.8.8.8 --> OK --> Apply


Mail (and internet browsing) now working much better for a couple of weeks now 🙂

Mail Connections Lost After Sleep (Ports Fail)

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