25 Mar
2012
25 Mar
'12
3:53 p.m.
On 25-03-2012 10:23, Gedalya wrote:
On 3/25/2012 3:24 AM, Spyros Tsiolis wrote:
The directory structure is :
"/var/MailRoot/domains/domainX/Username/Maildir/"
You can probably just:
- Do something to prevent the user from logging in, and any deliveries from happening, e.g. delete the user.
- Kick any existing connections.
- Just move the Username directory from domainA to domainB.
- Create the new user in the new domain
Test the procedure first.
Don't let a client log in to a mailbox and see something he's not supposed to see, like an empty mailbox. It can cause the client to drop its local cache and possibly other data.
i would also setup a forward from domainA to domainB for all the users that have moved, at least until most people who do send email know the 'old'address has changed.