<div dir="ltr">Hi,<div><br></div><div>I'm trying to migrate from an old courier IMAP server to Dovecot 2.3.1 (8e2f634). The old server uses self signed SSL certificate.</div><div><br></div><div>I'm using the following configuration:</div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">imapc_host = 10.1.1.3</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">imapc_user = %u</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">imapc_features = rfc822.size fetch-headers</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">imapc_port = 993</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">imapc_ssl = imaps</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">imapc_ssl_verify = no</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">mail_prefetch_count = 20</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">mail_shared_explicit_inbox = no</span></font><br></div><div><font face="monospace, monospace"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></font></div>Launching dsync with the command:<div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">doveadm -o mail_fsync=never -o imapc_password=PASSWORD</span><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> -Dv backup -R -u USER</span><a rel="nofollow" target="_blank" href="mailto:andrzej@datatel.net" style="color:rgb(102,17,204);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250)">@DOMAIN</a><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> imapc:</span></font><br></div><div><br></div><div>In the output logs I get messages like below:</div><div><br></div><div><font face="monospace, monospace"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">dsync(USER@DOMAIN): Error: imapc(<a href="http://10.1.1.3:993">10.1.1.3:993</a>): Couldn't initialize SSL context: Can't verify remote server certs without trusted CAs (ssl_client_ca_* settings)</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">dsync(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">USER@DOMAIN</span>): Debug: imapc(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">10.1.1.3</span>:993): Created new connection</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">dsync(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">USER@DOMAIN</span>): Debug: imapc(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">10.1.1.3</span>:993): Looking up IP address (reconnect_ok=true, last_connect=1532016643)</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">dsync(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">USER@DOMAIN</span>): Debug: imapc(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">10.1.1.3</span>:993): Connecting to <a href="http://10.1.1.3:993">10.1.1.3:993</a></span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">dsync(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">USER@DOMAIN</span>): Info: imapc(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">10.1.1.3</span>:993): Connected to <a href="http://10.1.1.3:993">10.1.1.3:993</a> (local <a href="http://172.17.0.5:51972">172.17.0.5:51972</a>)</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">dsync(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">USER@DOMAIN</span>): Error: imapc(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">10.1.1.3</span>:993): No SSL context</span><br style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">dsync(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">USER@DOMAIN</span>): Debug: imapc(<span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">10.1.1.3</span>:993): Disconnected</span><br></font></div><div><font face="monospace, monospace"><span style="color:rgba(0,0,0,0.87);font-size:14px;font-variant-ligatures:none;white-space:pre-wrap;background-color:rgb(250,250,250);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></font></div><div>Am I missing some configuration parameters?</div><div><br></div><div><br></div><div>-- </div><div>Regards,</div><div>Andrew</div></div>