From: Bron Gondwana <br...@launde.home.brong.net>

---
 imap/imapd.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/imap/imapd.c b/imap/imapd.c
index 8501c34..0bd144a 100644
--- a/imap/imapd.c
+++ b/imap/imapd.c
@@ -5305,6 +5305,13 @@ static int renmbox(char *name,
                    oldextname, newextname);
 
         sync_log_mailbox_double(name, text->newmailboxname);
+
+       if (text->rename_user) {
+           /* allow the replica to get the correct new quotaroot and acls 
copied across */
+           sync_log_user(text->newuser);
+           /* allow the replica to clean up the old meta files */
+           sync_log_user(text->olduser);
+       }
     }
 
     prot_flush(imapd_out);
-- 
1.5.6.3

Reply via email to