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
Apple Event: May 7th at 7 am PT
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
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
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
Thats easier than I thought.
Just one snafu; i have quite a few accounts in the mail folder - is there any way to tell which account the UUID belongs to?
You could take a look at creation or modification date.
Or go inside those UUID mail folders and open up a couple of those old mails with quicklook, that should give a hint which correct username you should connect this userUUID folder to.
Goodluck
Jeffrey
Reconnect a mail account