[Dovecot] Renaming user account / mailbox

Nikolaos Milas nmilas at noa.gr
Tue Jan 31 14:07:29 EET 2012


Hello,

I am running dovecot-2.0.13-1_128.el5 x86_64 RPM on CentOS 5.7.

All accounts are virtual, hosted on LDAP Server. We are using Maildir 
mailboxes.

The question: What is the process to rename an existing account/mailbox?

I would like to rename userx with email: userx at example.com to 
ux at example.com with a mailbox of ux (currently: userx)

Of course the idea is that new mail will continue to be delivered to the 
same mailbox, although it has been renamed.

How can I achieve it? Would it be enough (after changing the associated 
data in the associated LDAP entry) to simply rename the virtual user 
directory name, e.g. from /home/vmail/userx to /home/vmail/ux ?

Thanks in advance,
Nick



More information about the dovecot mailing list