replication - correct way to transfer a mailbox?

Edward Prendergast edward.prendergast at netring.co.uk
Fri Oct 26 07:27:45 EDT 2007


Thanks for your response Rudy.

Is this bug merely causing a cosmetic error or will this stop my transfers
from working? 

At present the system appears to be functioning normally, except for the
fact that deleted & purged messages whilst not displaying in the client
still appear in the user's mailbox on the filesystem, but I think this may
be a feature of normal behaviour.

-----Original Message-----
From: Rudy Gevaert [mailto:Rudy.Gevaert at UGent.be] 
Sent: 26 October 2007 12:08
To: Edward Prendergast
Cc: info-cyrus at lists.andrew.cmu.edu
Subject: Re: replication - correct way to transfer a mailbox?

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
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --





************
The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any action taken or
omitted to be taken in reliance on it, any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this E-mail message is strictly prohibited and may be
unlawful. If you have received this E-mail message in error, please notify
us immediately. Please also destroy and delete the message from your
computer.
************



More information about the Info-cyrus mailing list