replication - correct way to transfer a mailbox?

Rudy Gevaert Rudy.Gevaert at UGent.be
Fri Oct 26 07:08:08 EDT 2007


Edward Prendergast wrote:
> Hi,
> 
>  
> 
> Managed to solve the previous problem of errors like this:
> 
> USER received NO response
> 
> by changing the slave’s imapd.conf thusly:
> 
> virtdomains: yes
> 
> to
> 
> virtdomains: userid
> 
>  
> 
> So I can now transfer users as follows:
> 
>  
> 
> /usr/lib/cyrus-imapd/sync_client -v -l -u info at client.office
> 
>  
> 
> Which produces the following output:
> 
>  
> 
> Oct 26 11:33:03 chrisnux sync_client[14777]: USER info at client.office
> 
> Oct 26 11:33:03 chrisnux sync_client[14777]: USER received NO response: 
> IMAP_MAILBOX_NONEXISTENT Failed to access inbox for info at client.office: 
> Mailbox does not exist
> 
> Oct 26 11:33:03 chrisnux sync_client[14777]: ADDSUB info at client.office INBOX
> 
>  
> 
> Is this error merely cosmetic? It appears that cyrus creates the 
> account, detects there is no mailbox then copies the mailbox across. Am 
> I understanding this correctly?
> 
>  
> 
> If not, what is the correct command to transfer the mailbox? I know I’ll 
> need to use sync_client with the –m switch, but how is the specific 
> user’s mailbox specified?
> 

You've hit a bug.  This is fixed in 2.3.10 :)  Now the create on the 
master triggers a create on the replica.

Rudy



-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert at UGent.be          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


More information about the Info-cyrus mailing list