Rangeressary

Q: 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:

 

Mail Connection Doctor.jpg

 

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:

 

Network Utility (Gmail).jpg

 

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

Close

Q: Mail Connections Lost After Sleep (Ports Fail)

  • All replies
  • Helpful answers

first Previous Page 9 of 9
  • by softwater,

    softwater softwater Apr 24, 2013 10:59 PM in response to charlie_vz
    Level 5 (5,392 points)
    Mac OS X
    Apr 24, 2013 10:59 PM in response to charlie_vz

     

    charlie_vz wrote:

     

    Is there a way to remove the 'solved' status from this thread?

     

     

    Nope. And for that reason I'd strongly suggest you open a new thread. 

     

    There may well be some of the regular gurus who have an insight into this problem but haven't bothered looking at this thread again since it was "solved" (that's the way they roll).

     

    You can always reference this thread in the OP so that people can see what solutions have already been tried (and failed).

     

    Message was edited by: softwater

  • by bocockli,

    bocockli bocockli Apr 27, 2013 1:40 AM in response to scott321
    Level 1 (0 points)
    Apr 27, 2013 1:40 AM in response to scott321

    Same problem, I changed DNS from the wireless router gateway to the external internet provider's DNS and it solved the problem.

  • by niqu,

    niqu niqu May 28, 2013 8:38 AM in response to Rangeressary
    Level 1 (0 points)
    May 28, 2013 8:38 AM in response to Rangeressary

    I can't remember changing anything significant (only Thunderbolt Firmware-Update and a few minor App-updates), but fortunately the problem disappeared. I'm sorry for you guys, but I have no explanation and therefore no suggestion how to solve the problem for you.

  • by bryan123,

    bryan123 bryan123 Jul 7, 2013 6:01 PM in response to niqu
    Level 1 (0 points)
    Jul 7, 2013 6:01 PM in response to niqu

    I also am having the same problems and at this stage I have just put my sleep setting to never and its ok

     

    (so far)

  • by marcmeyer,

    marcmeyer marcmeyer Aug 5, 2013 8:18 PM in response to Rangeressary
    Level 1 (0 points)
    Aug 5, 2013 8:18 PM in response to Rangeressary

    I have also been having this problem.   I managed to solve it by disconnecting the ethernet cable (I have a wired connection), then reconnecting.   I suspect turning off wireless in the case of an over the air connection, then re-enabling it may do the same.

  • by matt2053,

    matt2053 matt2053 Aug 30, 2013 10:32 AM in response to marcmeyer
    Level 1 (0 points)
    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!

  • by Giles,

    Giles Giles Sep 9, 2013 5:55 AM in response to matt2053
    Level 4 (1,745 points)
    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

first Previous Page 9 of 9