3

A recent mail file corruption has led me to finally putting Eudora to bed. Since my personal email has been backed by gmail for a few years, and my work email is a Google apps email account, I figured I'd take advantage of server-based storage to not worry about fixing Eudora mail files, but just use IMAP to sync up with the servers in Apple mail and be done with it.

Well, my personal account and my company account are both the same user name, i.e. [email protected], and [email protected]. (Not real.) And it seems like this is causing a collision in Mail.app. On editing the initial mail config setup, I get an error: "Invalid Directory: The account path /Users/.../Library/Mail/[email protected] is already being used by the account Company Mail".

I was concerned by this, but it did seem to be busily downloading mail into the "All Mail" folder for the new account, so I let it run. But, yeah, it seems broken. What should be individual inbox folders for each account show all the same sets of messages. That's no good.

A funny thing is that I've had these same two accounts on my iPhone, with IMAP, and it keeps them straight!

So, am I doomed to not being able to use Apple Mail in this scenario?

Update: Today, the two inboxes look separate, after a restart of Mail overnight. However, I still get the same error when I try to change the personal account to send through an alternate server, so I think there is still a problem here.

4
  • I don't think both your user accounts being [email protected] is your problem. I'm in the exact same scenario (both work and personal email accounts are IMAP, and both are the same username @ their respective domains), and it works great. That error message you quoted makes me wonder if you accidentally entered the wrong address for your work email. Commented Oct 29, 2010 at 6:18
  • @Warren: I think the trick is that both my accounts are backed by Gmail in the end, so the incoming mail server for each is imap.gmail.com. Is that the same situation for you? If so, let me know and I'll work out a way to send you screenshots so you can tell me what I'm doing wrong.
    – Michael H.
    Commented Oct 29, 2010 at 15:18
  • Ah, good point. No, only my personal account is backed by Google. Commented Oct 31, 2010 at 4:49
  • @Warren Alas! I was hoping you'd found the secret to what I was doing wrong. Thank you for trying, through.
    – Michael H.
    Commented Nov 1, 2010 at 20:09

3 Answers 3

5
+50

Follow these steps:

  1. Open Mail and delete each of the conflicting accounts. Close Mail.
  2. Go to ~/Library/Mail/ and make sure any [email protected] folder has been deleted. If there is any such folder left, delete it now.
  3. Open Mail and create one of the accounts and let Mail load your messages. Close Mail.
  4. Go to ~/Library/Mail/ and verify that a folder called [email protected] has been created.
  5. Open ~/Library/Preferences/com.apple.mail.plist. If you have installed Xcode, this file will open with Property List Editor. Otherwise you can download a free trial of PlistEdit Pro to open this file. Using a plain text editor with .plist files is more difficult.
  6. With the .plist file open, click the disclosure triangle for MailAccounts. Here you will find Item 0, Item 1, etc.
  7. If you click the disclosure triangle for each of the Item headings, you will find that one of them has the value [email protected] or [email protected] for the AccountName key, depending on which account you created in step 3.
  8. Change the value for AccountPath for this Item so that the path will not collide with that of the next account you are to create.
  9. Save and close the .plist file.
  10. Open Mail and let it reload your messages. Close Mail.
  11. Go to ~/Library/Mail/ and verify that a folder with the path value you provided in step 8 has been created. Delete the old folder called [email protected].
  12. Open Mail and create the remaining account normally and let Mail load your messages.
2
  • This sounds very promising. I was experimenting with my DNS powers to create an imap.company.com as a CNAME for imap.gmail.com. I don't like the certificate warnings I was getting, though. So I may try this, we will see ...
    – Michael H.
    Commented Nov 1, 2010 at 22:30
  • This has worked, thank you so much! I'm directing Ars Technica & Apple Support forums here. FWIW, it does look like I might have been able to avoid this if initially in the company account creation, I'd (correctly) entered in [email protected] for the name, instead of just username123 -- I had to make that change eventually for it to work in the first place, but I think maybe the AccountPath setting was set initially by the username value and not updated. On this second go around, where I knew better what I was doing, the AccountPath contained @companyname.com.
    – Michael H.
    Commented Nov 3, 2010 at 0:03
1

You could try setting one up as POP but leave the messages on the server, and the other as IMAP.

1
  • I have read (on Apple's support forum or MacOSXHints or somewhere else) that this will work. But, that's pretty poor! I'm hoping to hear that someone else has managed it some other way.
    – Michael H.
    Commented Oct 29, 2010 at 1:12
1

I have seven Gmail accounts set up on Apple Mail via IMAP, running OS X Mountain Lion. I had no problems setting up any of them except one. Long story short, the fix was easy. I turned off the 2-step security verification in the Google account settings. That was it!

1
  • 2
    Welcome to the site! While this appears to answer the question based on the question title, the question body highlights that the specific problem seems to be multiple accounts with identical user names at different domains. (I'm editing the title of the question to make this clearer.)
    – Jaydles
    Commented Nov 15, 2012 at 21:40

You must log in to answer this question.

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