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.

Exchange under Mountain Lion

I have major problems using Exchange in Mountain Lion. Under Lion everything worked fine (Mail, Calendar, Contacts incl. global address list). Under ML only Calendar works, Mail and Contacts show connection errors. Our corporate server is Exchange 2007.


Has somebody a fully working Exchange in ML?


Any ideas?


Many thanks!

Posted on Jul 25, 2012 1:02 PM

Reply
831 replies

Dec 20, 2012 2:16 AM in response to TominStafford

You now it's funny, Mail on IOS actually works great with exchange. Why not on ML? Come on Apple!


Well, that's mostly because on mobile devices there is a completely different and much more efficient & faster exchange protocol called ActiveSync. This is the one that you get with Exchange servers on iOS. Unfortunately, Microsoft won't license it except for mobile devices, so no chance to see it on a Mac. It's always funny how my exchange mails reach my phone first, usually by a few minutes.

Jan 1, 2013 9:01 AM in response to alexkli

alexkli wrote:



You now it's funny, Mail on IOS actually works great with exchange. Why not on ML? Come on Apple!



Well, that's mostly because on mobile devices there is a completely different and much more efficient & faster exchange protocol called ActiveSync. This is the one that you get with Exchange servers on iOS. Unfortunately, Microsoft won't license it except for mobile devices, so no chance to see it on a Mac. It's always funny how my exchange mails reach my phone first, usually by a few minutes.


This doesn't explain why Exchange used to work with the Mail app on Mac only until recently.


In response to Mac blaming anyone else, unless Microsoft revoked certain rights to the Mac (which Apple would publically explain), this issue was obviously created by bad reprogramming of the Mail app. What's taking so long to fix, can't they just revert the Mail app to an older version?


Also, I am almost certain I had this problem with Lion before upgrading to Mountain Lion. IIRC, my Exchange just got up and stopped working randomly in the middle of my Lion days - not in response to any major OS upgrade. I remember hoping the ML upgrade would fix it. Anyone else?

Jan 2, 2013 1:21 AM in response to Ondray Wells Jr.

I bought a brand new MacBookPro with Retina screen, OS Mountain Lion pre-installed. Exchange intitially seemed to work in Mail.app but after a while stopped syncing my inbox. Apple support does not support this and advised to create a new user to test mail settings as they claimed another program might have interfered. After reinstallation my inbox synched but i had regular issues with other folders synching, mails which appeared not to have been sent but had been sent etc. Then after a few weeks my Inbox stopped synching again without any obvious reason, Apple support refuses to help as they claim it's an Exchange issue.

I implemented Ondray's solution and it seems to work just fine, as i could not uncheck autodetect somehow. Thanks for finding this solution! I was hoping that by spending double the price for a laptop i would no longer have typical ' windows' issues but it sees that Apple is going that way too unfortunately.

For those depending on Exchange mail i would recommend to stick to Windows despite all its deficiencies.....

Jan 2, 2013 6:51 AM in response to benveen

What is "Ondray's" solution? I searched the past several pages of this thread and found no post by Ondray. I have yet to find anything that will keep my Mail app from asking for my password.



BTW: I was on Mt Lion for a while with Mail working before this issue started happening. Is there a chance that MS changed anything in an update to Exchange or the webmail services?

Jan 2, 2013 7:20 AM in response to Mattzda3

It appears the workaround of editing the /etc/hosts file as suggested earlier works. For those less technically inclined this is how to do it:


1. Close Mail. Wait a few seconds and then open it back up. Got to Preferences - Accounts. Select your Exchange server entry and see what value ML insists upon putting in Internal Server. Write this down somewhere.


2. Open up Terminal. Type "ping server.domain.com" (no quotes) where server.domain.com is the value that you previously used in the Internal Server setting for Mail. If you're lucky the server will respond at least once. Write down the IP address (xx.xx.xxx.xx).


3. Open up Finder. Select Go-Go To Folder menu. Enter /etc in the dialog and click Go. Find the file named "hosts". Copy it to the Desktop.


4. Open up the "hosts" file on the Desktop in TextEdit. At the end enter the Internal Server name you wrote down in step 1 on the left. A few spaces over on the same line enter the IP Address you wrote down in Step 2. Save the file and close TextEdit.


5. Drag the updated "hosts" file on the Desktop back into the Finder window display the /etc directory from Step 3. You will need to authenticate with your password. Be sure to select the replace option.


6. All the Exchange enabled apps should work now.


What this does is tell the OS that "server.domain.com" should resolve to the IP address of the actual external server you want to use ... rather than the IP address it actually has. You've basically "tricked" the system in order to get around this boneheaded change. So far I haven't seen any issues. Emails in the Exchange inbox sometimes disappear ... but I have the feeling that's a separate bug. Switching from one mailbox to another and coming back often fixes this issue. Restarting Mail seems to fix it consistently when it occurs.

Jan 2, 2013 8:14 AM in response to benveen

Ondray's "For those less technically inclined" solution is too technical for most and WAY over the top for an app that should "just work" and for which we pay a premium. I'm getting used to Outlook in Mac Office and actually starting to like it. The aesthetics aren't quite there - probably never will be with MS, but it works well and that is critical.


So my stand: ditch the forum work arounds and buy a product that works.

Jan 2, 2013 10:51 PM in response to m@zo

Been having issues with Mountain Lion Mail similar to what is described in this thread. Whenever I awoke my MBAir from sleep I would get the spinning rainbow ball consistently in Apple Mail for some time. I have zero issues accessing same accounts with iPhone / iPad and it used to work fine in previous OS X releases. In Console, it seemed to be Exchanged related due to the following error message:


>>>


*** Assertion failure in -[EWSGateway fetchCopyOfSyncIssuesEntryID], /SourceCache/Message/Message-1499/Message/EWS/EWSGateway.m:1853

Didn't get a proper response for a GetFolder request on Inbox

...


>>>


I found either in this thread or a similar thread suggesting disabling Spotlight for Messages & Chats, Contacts, and Events & Reminders. At least for the last few sleep + awake cycles, the spinning ball has not occurred / been a few seconds. It sounds like there are multiple issues at play in this thread. Specific for my case, I am hoping disabling Spotlight for these specific categories fixes the painful Mail problem. Fingers crossed.

Jan 9, 2013 4:43 PM in response to benveen

Have implemented the benveen/ondray(?) hostfile edit and so far it seems to be working for me. (I can't find the Ondray post Benveen refers to either but wherever it is - Thanks!)


It makes sense of the fact that when connected to my exchange server via a VPN (or LAN) I had no issues but when relying on the external server (Which resolves just fine via DNS) it didn't work reliably.


Apple have to recognise this problem now surely?

Jan 12, 2013 2:53 PM in response to benveen

benveen, your instructions seem very simple, thank you.


I have some questions:


In Step 1, you say "see what value ML insists upon putting in Internal Server", but the value I have is mail.mycompany.com, which is a value I entered when I initially set up my Exchange. ML isn't "insisting" on anything. Am I missing something?


So then I ping'ed it and you said "if you're lucky the server will respond at least once", but I'm not sure if the first line of the following means it responded or not:


PING mail.mycompany.com (209.47.6.120): 56 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1

.....[this goes on into the hundreds as I type]

Jan 13, 2013 6:10 PM in response to benveen

Yah, I tried that anyway and it didn't work. I just tried it again, and still nothing.


Do I leave "Use Autodiscover service" checked?


Is "External Server" supposed to be "external.example.com"?


Do I leave "Use SSL" checked for Internal Port = 443, but unchecked for External Port = 80?


Is "Internal Server Path" supposed to be "ews/exchange.asmx"?


Is "External Server Path" = "EWS/Exchange.asmx"?


Thanks!

Jan 14, 2013 12:33 AM in response to BonesDT

One of the problems is that you cannot uncheck autodiscover once the account has been set up but you overcome this to change the Hosts file. Both external and internal server is as described under 1 (your provider can give you this address, it is the same you would use to configure exchange under IOS).

SSL checked for both internal and external, both ports 443. Server paths EWS/exchange.amsx

restart the Mail app

Jan 14, 2013 3:17 PM in response to Slartibartfest

Update - I started to get the same issues as before despite the hostfile edit so in a fit of madness I wiped my macbook and reinstalled Mountain Lion from scratch. Amazingly it feels as if I have a new machine again. The macbook is a 2010 dual core machine and was feeling a bit old but I couldn't put my finger on why. It came with snow leopard so had been through in place upgrades to Lion and then Mountain lion and I suspect that something had gone wrong during the Lion upgrade which was causing my intermittent mail problems with Exchange. Since reinstalling ML to a clean disk everything works perfectly.


For anyone with long term issues connecting to exchange with OSX Mail, I'd seriously consider the pain of a clean install, especially if you have upgraded the OS in place.


Best of luck.

Exchange under Mountain Lion

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