RE: replication - correct way to transfer a mailbox?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx] 
Sent: 26 October 2007 12:08
To: Edward Prendergast
Cc: info-cyrus@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxx
> 
>  
> 
> Which produces the following output:
> 
>  
> 
> Oct 26 11:33:03 chrisnux sync_client[14777]: USER info@xxxxxxxxxxxxx
> 
> Oct 26 11:33:03 chrisnux sync_client[14777]: USER received NO response: 
> IMAP_MAILBOX_NONEXISTENT Failed to access inbox for info@xxxxxxxxxxxxx: 
> Mailbox does not exist
> 
> Oct 26 11:33:03 chrisnux sync_client[14777]: ADDSUB info@xxxxxxxxxxxxx
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@xxxxxxxx          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.
************

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux