1

I recently set up a new iMac running Yosemite (10.10.1). After I signed into my iCloud account, my mail/calendar/contacts accounts were set up for me; so far so good.

The problem is that in Mail.app one of my accounts, which is Exchange-based, has the wrong User Name value -- it's got "jens" instead of "[email protected]". This of course means Mail can't log into the account; if I enable it I just get endless enter-your-password dialog boxes.

The real problem is that I can't fix the first problem -- the User Name field in the account settings in Mail prefs is disabled! (So are many of the other fields like Email Address and Internal Server.) Maybe this is because the account is managed by the Internet Accounts system pref? But my other account, which uses IMAP, does have an editable User Name field...

What's even stranger is that the Calendar and Contacts apps can log into the Exchange server just fine, and if I look in their prefs for the account settings, they've got the correct username. It's only Mail that's got it wrong.

What I've tried so far:

  • Delete the Exchange account -- this pops up a stern warning that the account will be removed from all my other devices that use iCloud Keychain. No way; I don't want to risk screwing up email access on the other Mac and iOS devices where it's working fine!
  • Configure a new Exchange account to connect to the same server -- this doesn't work. Apparently Mail's new-account assistant realizes that there's already an account with this server/username and reuses it instead of creating a new one.
  • Find where the username is stored in Mail's user defaults and edit it -- I haven't been able to find it. Looks like Mail's storage of user defaults or accounts has changed a lot since the olden days, both due to sandboxing and to iCloud.
  • Look online for other people with my problem -- haven't found anything on Apple's (useless) support community site or here.

2 Answers 2

1

I've been looking for an answer to this as well. Here's how i resolved it.

I found the file that stores the username in ~/Library/Accounts/Accounts3.sqlite. I used the sqlitebrowser app from http://sqlitebrowser.org/ to open it.

  1. Drag and drop Accounts3.sqlite to the dock icon to open the file.
  2. Click the Browse Data tab.
  3. Change the Table to ZACCOUNT.
  4. I used the ZACCOUNTDESCRIPTION field to determine the right row to make the change.
  5. Update the value in the ZUSERNAME field.

For me, entering the full email address didn't work. I used domain\user instead.

0

Sounds frustrating. I had a similar problem recently where they moved my account to a new server. Unfortunately I did have to just remove the account and re add one, which turned out alright after I fixed my rules and copied my ssignatures

I would suggest disconnecting from the cloud, removing the broken account, then reconnecting to the cloud to see if it pulls the working ones. If not you can always disconnect then remove and add again before reconnecting to the cloud.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .