Problem restoring shared folders in replica server

Manel Gimeno Zaragozá magiza83 at hotmail.com
Fri Mar 16 03:32:20 EDT 2012


Hello,

Thanks, but yesterday after post I was doing test with sync_client -m "MAILBOX" but nothing happen either!

I capture the traffic between machines and there are connections to csync port and this is what I get in REPLICATION machine if I run "sync_client -m SHAREDFOLDER":

192.168.066.093.02005-192.168.066.092.39363: * SASL PLAIN
* COMPRESS DEFLATE
* OK cyrus2-test.test.com Cyrus sync server v2.4.13-Invoca-RPM-2.4.13-1.el6

192.168.066.092.39363-192.168.066.093.02005: AUTHENTICATE PLAIN AGN5cnVzAGN5cnVzMDE=

192.168.066.093.02005-192.168.066.092.39363: OK Success (no protection)

192.168.066.092.39363-192.168.066.093.02005: GET MAILBOXES (SHAREDFOLDER)

192.168.066.093.02005-192.168.066.092.39363: OK success

192.168.066.092.39363-192.168.066.093.02005: EXIT

192.168.066.093.02005-192.168.066.092.39363: OK Finished

Also I try to run "sync_client -m SHAREDFOLDER.Sistemas.Oracle", or "sync_client -m Sistemas.Oracle" but I get the same result, nothing is sync!

In maillog nothing importar is logged neither:

Mar 16 08:30:22 cyrus2-test syncserver[2590]: executed
Mar 16 08:30:22 cyrus2-test syncserver[2590]: accepted connection
Mar 16 08:30:22 cyrus2-test syncserver[2590]: cmdloop(): startup
Mar 16 08:30:22 cyrus2-test syncserver[2590]: login: cyrus1-test.test.com [192.168.66.92] cyrus PLAIN User logged in

Thanks & Regards

Manel Gimeno Zaragoza
magiza83 at hotmail.com


> Date: Fri, 16 Mar 2012 09:04:25 +0200
> From: janne.peltonen at helsinki.fi
> To: magiza83 at hotmail.com
> CC: info-cyrus at lists.andrew.cmu.edu
> Subject: Re: Problem restoring shared folders in replica server
> 
> Hi!
> 
> On Thu, Mar 15, 2012 at 06:28:32PM +0100, Manel Gimeno Zaragozá wrote:
> [...]
> > replica with sync_client -u "user" and everything was OK except shared folders,
> > I can not sync shared folders information.
> [...]
> > but nothing happen when I try
> > sync_client -u SHAREDFOLDER
> > or
> > sync_client -u Sistemas
> > 
> > I've try it with root and cyrus user but I don't know how I can force the sync
> > for shared folders. Can anyone help me?
> 
> Yes. You should use the -m flag to force syncing of a mailbox. From sync_client
> manual:
> 
> --clip--
>        -u     User mode.  Remaining arguments are list of users who should be replicated.
>        -m     Mailbox mode.  Remaining arguments are list of mailboxes which should be replicated.
> --clip--
> 
> A shared folder is not a user. It is a mailbox.
> 
> As a side note, if you have sieve script in the global namespace (that are
> attached by the "/vendor/cmu/cyrus-imapd/sieve" annotation to certain shared
> folders or other folders), the only way to replicate those that I know of is to
> rsync them (or otherwise copy in the file system level).
> 
> 
> Yours,
> -- 
> Janne Peltonen <janne.peltonen at helsinki.fi> PGP Key ID: 0x9CFAC88B
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20120316/4c300ada/attachment-0001.html 


More information about the Info-cyrus mailing list