dsync connection issue

Subscription
Fri, 28 Dec 2018 08:12:13 -0000

The logs on the old server are as follows

-------

Dec 28 19:05:29 imap-login: Info: Disconnected (no auth attempts in 30
secs): user=<>, rip=207.180.228.225, lip=103.4.235.252, TLS handshaking:
SSL_accept() syscall failed: Success
Dec 28 19:05:29 imap-login: Debug: SSL: elliptic curve secp384r1 will be
used for ECDH and ECDHE key exchanges
Dec 28 19:05:29 imap-login: Debug: SSL: elliptic curve secp384r1 will be
used for ECDH and ECDHE key exchanges
Dec 28 19:05:29 auth: Debug: auth client connected (pid=5531)
Dec 28 19:05:29 imap-login: Debug: SSL: where=0x10, ret=1: before SSL
initialization [207.180.228.225]
Dec 28 19:05:29 imap-login: Debug: SSL: where=0x2001, ret=1: before SSL
initialization [207.180.228.225]
Dec 28 19:05:29 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL
initialization [207.180.228.225]
Dec 28 19:05:59 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL
initialization [207.180.228.225]
Dec 28 19:05:59 imap-login: Debug: SSL error: SSL_accept() syscall
failed: Success
Dec 28 19:05:59 imap-login: Info: Disconnected (no auth attempts in 30
secs): user=<>, rip=207.180.228.225, lip=103.4.235.252, TLS handshaking:
SSL_accept() syscall failed: Success
Dec 28 19:08:00 imap-login: Debug: SSL: elliptic curve secp384r1 will be
used for ECDH and ECDHE key exchanges
Dec 28 19:08:00 imap-login: Debug: SSL: elliptic curve secp384r1 will be
used for ECDH and ECDHE key exchanges
Dec 28 19:08:00 imap-login: Debug: SSL: where=0x10, ret=1: before SSL
initialization [207.180.228.225]
Dec 28 19:08:00 imap-login: Debug: SSL: where=0x2001, ret=1: before SSL
initialization [207.180.228.225]
Dec 28 19:08:00 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL
initialization [207.180.228.225]
Dec 28 19:08:00 auth: Debug: Loading modules from directory:
/usr/lib/dovecot/modules/auth
Dec 28 19:08:00 auth: Debug: Module loaded:
/usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
Dec 28 19:08:00 auth: Debug: Read auth token secret from
/var/run/dovecot/auth-token-secret.dat
Dec 28 19:08:00 auth: Debug: passwd-file /etc/dovecot/passwd: Read 10
users in 0 secs
Dec 28 19:08:00 auth: Debug: passwd-file /etc/dovecot/users: Read 10
users in 0 secs
Dec 28 19:08:00 auth: Debug: auth client connected (pid=5625)
Dec 28 19:08:30 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL
initialization [207.180.228.225]
Dec 28 19:08:30 imap-login: Debug: SSL error: SSL_accept() syscall
failed: Success
Dec 28 19:08:30 imap-login: Info: Disconnected (no auth attempts in 30
secs): user=<>, rip=207.180.228.225, lip=103.4.235.252, TLS handshaking:
SSL_accept() syscall failed: Success
Dec 28 19:08:30 imap-login: Debug: SSL: elliptic curve secp384r1 will be
used for ECDH and ECDHE key exchanges
Dec 28 19:08:30 imap-login: Debug: SSL: elliptic curve secp384r1 will be
used for ECDH and ECDHE key exchanges
Dec 28 19:08:30 auth: Debug: auth client connected (pid=5644)
Dec 28 19:08:30 imap-login: Debug: SSL: where=0x10, ret=1: before SSL
initialization [207.180.228.225]
Dec 28 19:08:30 imap-login: Debug: SSL: where=0x2001, ret=1: before SSL
initialization [207.180.228.225]
Dec 28 19:08:30 imap-login: Debug: SSL: where=0x2002, ret=-1: before SSL
initialization [207.180.228.225]

------


On 27/12/18 6:28 pm, Aki Tuomi wrote:
>> On 27 December 2018 at 19:13 Subscription <leo1subscr at
zudiewiener.com> wrote:
>>
>>
>> I'm trying to move from my exising server to a new site. In
preparation
>> for this I've set up the new server as per the first attachment.
>>
>> I've added additional (temporary) setting to the new site as per
these
>> instructions
>>
>> https://wiki2.dovecot.org/Migration/Dsync
>>
>> but when I try to do a backup with the following command from the old
to
>> the new site
>>
>> sudo doveadm -D -o imapc_user=user1 at oldserver? -o
>> imapc_password=pw-oldserver backup -R -u user1 at newserver imapc:
>>
>> I get
>>
>> -----------------------
>> Error: User initialization failed: imapc: Login to 'oldserver'
failed:
>> Disconnected from server
>>
>> ----------------------
>>
>> I can connect to both sites without any issues
>>
>> openssl s_client -crlf -connect newserver:993
>>
>> openssl s_client -crlf -connect oldserver:993
>>
>>
>> Not sure what I'm missing.
>>
>> Have also included the config for the old site
>>
>> Thanks,
>>
>> Leo
>>
>>
> Did you check logs on the old server?
>
> Aki