Re: Problem with cyrus replication: failing to update user/mailbox

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

 



Edward Prendergast wrote:
> Hi,
> 
> I've given up on cyrus-murder for now and am just focusing on replication. 
> 
> When I run /usr/lib/cyrus-imapd/sync_client -v -l -u user.info@xxxxxxxxxxxxx
> it errors on the master:

-u takes usernames, not mailbox names.  Try -u info@xxxxxxxxxxxxx

Also note that before 2.3.10 there is some inconsistency in the use when 
using unix hierarchy seperator.

> 
> Oct 25 13:52:29 chrisnux sync_client[10651]: USER received NO response:
> IMAP_MAILBOX_NONEXISTENT Failed to access inbox for info@xxxxxxxxxxxxx:
> Mailbox does not exist
> Oct 25 13:52:29 chrisnux sync_client[10651]: CREATE received NO response:
> Create client.office!user.info failed: Invalid mailbox name
> Oct 25 13:52:29 chrisnux sync_client[10651]: Error in
> do_user(info@xxxxxxxxxxxxx): bailing out!
> 
> The slave is log says this:
> Oct 26 13:59:50 eddnux syncserver[4271]: accepted connection
> Oct 26 13:59:50 eddnux syncserver[4271]: cmdloop(): startup
> Oct 26 13:59:50 eddnux syncserver[4271]: login: chrisb [192.168.1.10] cyrus
> PLAIN User logged in
> Oct 26 13:59:50 eddnux syncserver[4271]: Failed to access inbox for
> info@xxxxxxxxxxxxx
> Oct 26 13:59:50 eddnux syncserver[4271]: can not unlink
> /var/lib/imap/user/i/info@xxxxxxxxxxxxxxxxxx: No such file or directory
> Oct 26 13:59:50 eddnux syncserver[4271]: can not unlink
> /var/lib/imap/user/i/info@xxxxxxxxxxxxxxxxxxxxx: No such file or directory
> Oct 26 13:59:50 eddnux syncserver[4271]: Unlocked
> 
> But I'm not sure how to copy across the mailbox if the user doesn't already
> exist? I tried:
> 
> [root@chrisnux /]# /usr/lib/cyrus-imapd/sync_client -v -l -m INBOX
> Which returns:
> MAILBOXES INBOX
> 
> And returns the same in the log, no errors:
> Oct 25 14:05:57 chrisnux sync_client[10714]: MAILBOX INBOX
> 
> The slave has this to say after INBOX transfer:
> 
> Oct 26 13:52:06 eddnux syncserver[4262]: executed
> Oct 26 13:52:06 eddnux syncserver[4262]: accepted connection
> Oct 26 13:52:06 eddnux syncserver[4262]: cmdloop(): startup
> Oct 26 13:52:06 eddnux syncserver[4262]: login: chrisb [192.168.1.10] cyrus
> PLAIN User logged in
> Oct 26 13:52:06 eddnux syncserver[4262]: Unlocked
> Oct 26 13:53:17 eddnux master[3994]: process 4262 exited, status 0
> 
> No errors here either.
> 
> Expcert from master imapd.conf:
> defaultdomain: chris.office
> virtdomains: yes
> sync_host: 192.168.1.7
> sync_authname: cyrus
> sync_password: secret
> 
> sync_machineid: 1
> sync_log: yes
> 
> I have the following line in cyrus.conf's START section:
> syncclient       cmd="/usr/lib/cyrus-imapd/sync_client -r"
> 
> and have set imap & lmtpunix to support uuid in the SERVICES section:
> imap          cmd="imapd" listen="imap" prefork=5 provide_uuid=1
> lmtpunix      cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
> provide_uuid=1
> 
> Except from slave imapd.conf:
> defaultdomain: eddnux.office
> virtdomains: yes
> 
> Slave cyrus.conf contains this in the SERVICES section:
> syncserver       cmd="/usr/lib/cyrus-imapd/sync_server" listen="csync"
> 
> Any help with this problem would be greatly appreciated.
> 
> Thanks,
> Edward
> 
> 
> ************
> 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


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