sync_client from 2.3.7 to 2.3.16
Frank Patzig
fp at mdlink.de
Tue Aug 30 05:42:07 EDT 2011
Hallo,
i have a master
Cyrus 2.3.7 (centos: 5.4)
Linux 2.6.18-164.el5PAE #1 SMP Thu Sep 3 04:10:44 EDT 2009 i686 i686
i386 GNU/Linux
------------------------------------------
# imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
partition-1: /var/spool/imap-1
admins: cyrus
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: false
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
autocreatequota: 5242880
duplicatesuppression: 1
expunge_mode: immediate
flush_seenstate: 0
logtimestamps: 0
maxmessagesize: 0
quotawarn: 95
quotawarnkb: 0
unixhierarchysep: 1
timeout: 10
berkeley_cachesize: 1024
allowplaintext: yes
# use lowercased values everywhere...
username_tolower: 0
lmtp_downcase_rcpt: 0
#normalizeuid: 0
# SSL
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd_concat_full.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd_concat_full.pem
tls_ca_file: /etc/pki/cyrus-imapd/cyrus-imapd_concat_full.pem
sync_host: 192.168.2.3
sync_authname: cyrus
sync_password: xxxxx
sync_log: 1
sync_repeat_interval: 1
sync_shutdown_file: /var/lib/imap/DO-NOT-SYNC-ANYMORE
--------------------------------------------------------------
Slave
Cyrus 2.3.16 (centos: 6.0)
Linux 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011
x86_64 x86_64 x86_64 GNU/Linux
---------------------------------------------
# imapd.conf
configdirectory: /var/lib/imap
partition-default: /mailstorage1/var/spool/imap
defaultpartition: default
admins: cyrus
sievedir: /mailstorage1/var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: false
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN LOGIN
autocreatequota: 5242880
duplicatesuppression: 1
expunge_mode: immediate
flush_seenstate: 0
logtimestamps: 0
maxmessagesize: 0
quotawarn: 95
quotawarnkb: 0
unixhierarchysep: 1
timeout: 10
berkeley_cachesize: 1024
allowplaintext: yes
# use lowercased values everywhere...
username_tolower: 0
lmtp_downcase_rcpt: 0
#normalizeuid: 0
# SSL
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd_concat_full.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd_concat_full.pem
tls_ca_file: /etc/pki/cyrus-imapd/cyrus-imapd_concat_full.pem
---------------------------------------------------------
in cyrus.conf
SERVICES {
..
syncserver cmd="/usr/lib/cyrus-imapd/sync_server" listen="csync"
..
}
------------------------------------------------------------
I will sync from Master to Slave:
root at mail imap-1]# su - cyrus
-bash-3.2$ sync_client -v -l -u 4999
USER 4999
Error from do_user(-v): bailing out!
in Log:
Aug 30 11:23:01 mail sync_client[8588]: Doing a peer verify
Aug 30 11:23:01 mail sync_client[8588]: received server certificate
Aug 30 11:23:01 mail sync_client[8588]: starttls: TLSv1 with cipher
DHE-RSA-AES256-SHA (256/256 bits new) no authentication
Aug 30 11:23:01 mail sync_client[8588]: USER 4999
Aug 30 11:23:01 mail sync_client[8588]: USER: Invalid type 2 response
from server
Aug 30 11:23:01 mail sync_client[8588]: Discarding: 1 1 5242880
Aug 30 11:23:01 mail sync_client[8588]: Discarding: User completed
Aug 30 11:23:01 mail sync_client[8588]: sync_eatlines_unsolicited():
resynchronised okay
Aug 30 11:23:01 mail sync_client[8588]: Error in do_user(4999): bailing out!
in Log Slave:
Aug 30 13:39:54 mailserver2 syncserver[10586]: cmdloop(): startup
Aug 30 13:39:54 mailserver2 syncserver[10586]: imapd:Loading hard-coded
DH parameters
Aug 30 13:39:54 mailserver2 syncserver[10586]: SSL_accept() incomplete
-> wait
Aug 30 13:39:54 mailserver2 syncserver[10586]: mystore: starting txn
2147483660
Aug 30 13:39:54 mailserver2 syncserver[10586]: mystore: committing txn
2147483660
Aug 30 13:39:54 mailserver2 syncserver[10586]: SSL_accept() succeeded
-> done
Aug 30 13:39:54 mailserver2 syncserver[10586]: starttls: TLSv1 with
cipher DHE-RSA-AES256-SHA (256/256 bits new) no authentication
Aug 30 13:39:54 mailserver2 syncserver[10586]: login: [192.168.2.2]
cyrus PLAIN+TLS User logged in
Aug 30 13:39:54 mailserver2 syncserver[10586]: Unlocked
Can i help. I found not a error.
Thanks Frank
More information about the Cyrus-devel
mailing list