Re: replication - correct way to transfer a mailbox?

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

 



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