Sync_client retrying, but synctest works

Cristian Seres cristian at seres.fi
Mon Jan 26 11:25:06 EST 2009


Hi!

I have tried to get Cyrus replication working without success. It is RHEL
5.3 with standard cyrus-imap 2.3.7-2.

Synctest with -t "" succeeds, but sync_client -v -r gives "retrying in 15
seconds". Tcpdump shows that there is traffic in both cases.

Any help is appreciated.

sync_ lines in imapd.conf on imapmaster host:
***
sync_host: imapreplica.company.com
sync_authname: cyrus
sync_passwd: protected
***

The following does not work:
***
cyrus at imapmaster$ /usr/lib/cyrus-imapd/sync_client -v -r
Can not connect to server 'imapreplica.company.com', retrying in 15 seconds
***

The following works:
***
cyrus at imapmaster$ synctest imapreplica.company.com -t ""
S: * STARTTLS
S: * OK imapreplica.company.com Cyrus sync server
v2.3.7-Invoca-RPM-2.3.7-2.el5
C: STARTTLS
S: OK Begin TLS negotiation now
verify error:num=18:self signed certificate
TLS connection established: TLSv1 with cipher AES256-SHA (256/256 bits)
S: * SASL LOGIN PLAIN
S: * OK imapreplica.company.com Cyrus sync server
v2.3.7-Invoca-RPM-2.3.7-2.el5
C: AUTHENTICATE LOGIN
S: + VXNlcm5hbWU6
Please enter your password:
C: <protected>
S: + <protected>
C: <protected>
S: OK Success (tls protection)
Authenticated.
Security strength factor: 256
***

With best regards,

-- 
Cristian Seres



More information about the Info-cyrus mailing list