[Dovecot] migrating mailboxes on dovecot

Luuk@dovecot dovecot at vosslamber.nl
Sun Mar 25 15:53:16 EEST 2012


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:
> 1. Do something to prevent the user from logging in, and any deliveries
> from happening, e.g. delete the user.
> 2. Kick any existing connections.
> 3. Just move the Username directory from domainA to domainB.
> 4. 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.



More information about the dovecot mailing list