Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Reconnect a mail account

Is there a way to obtain mail from the service data for an account that has become unlinked.

OS X Yosemite (10.10.3), OSX Server - 10.10.3

Posted on Jun 16, 2015 12:19 PM

Reply
Question marked as Best reply

Posted on Jun 18, 2015 11:22 AM

If the mail for that user is still inside the service data and you know it's older UUID, you can use that UUID to transfer his or her mailbox to a new user.


In short:

- Make a backup or create a clone of the current situation

- You need the old mailbox of that user, it's located in /Library/Server/Mail/Data/mail under it's older UUID

- Open the directory utility and lookup the new UUID of the new user

- Stop the mailservice, change the UUID of that old folder into the new UUID of the new user

- change the permissions of that folder using the terminal so that the owner of that mail is:

/Library/Server/Mail/Data/mail -> should be owned by -> _dovecot:mail

- Start the mailservice and login as that user.

- All old mail will be there.

- Verify by sending and receiving mail to and from that user

Goodluck

Jeffrey

3 replies
Question marked as Best reply

Jun 18, 2015 11:22 AM in response to John H

If the mail for that user is still inside the service data and you know it's older UUID, you can use that UUID to transfer his or her mailbox to a new user.


In short:

- Make a backup or create a clone of the current situation

- You need the old mailbox of that user, it's located in /Library/Server/Mail/Data/mail under it's older UUID

- Open the directory utility and lookup the new UUID of the new user

- Stop the mailservice, change the UUID of that old folder into the new UUID of the new user

- change the permissions of that folder using the terminal so that the owner of that mail is:

/Library/Server/Mail/Data/mail -> should be owned by -> _dovecot:mail

- Start the mailservice and login as that user.

- All old mail will be there.

- Verify by sending and receiving mail to and from that user

Goodluck

Jeffrey

Reconnect a mail account

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