<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Dear Sirs,</p>
<p>I tried to sync my account from my old to my new server. I did the below ~<span>.offlineimaprc</span></p>
<p>[general]<br /># List of accounts to be synced, separated by a comma.<br /># Possible interface choices are: quiet, basic, syslog, ttyui, blinkenlights, machineui<br />ui = ttyui<br />accounts = main</p>
<p>[Account main]<br /># Identifier for the local repository; e.g. the maildir to be synced via IMAP.<br />localrepository = main-local<br /># Identifier for the remote repository; i.e. the actual IMAP, usually non-local.<br />remoterepository = main-remote</p>
<p>[Repository main-local]<br /># OfflineIMAP supports Maildir, GmailMaildir, and IMAP for local repositories.<br />type = Maildir<br /># Where should the mail be placed?<br />localfolders = /var/vmail/vmail1/openforall.com/mikek/OLD_MAILS</p>
<p>[Repository main-remote]<br /># Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP.<br />type = IMAP<br />remotehost = mail.openforall.net<br />remoteuser = mikek@openforall.net<br />expunge = no</p>
<p>then inside the ~ directory I type: offlineimap --dry-run --info</p>
<p>and I got: <br />OfflineIMAP 7.2.3<br /> Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)<br />imaplib2 v2.57 (system), Python v2.7.18rc1, OpenSSL 1.1.1f 31 Mar 2020<br /> imaplib2: 2.57 (system)<br />Remote repository 'main-remote': type 'IMAP'<br />Host: mail.openforall.net Port: None SSL: True<br />Establishing connection to mail.openforall.net:993 (main-remote)<br />Failed to connect. Reason No CA certificates and no server fingerprints configured. You must configure at least something, otherwise having SSL helps nothing.<br />Establishing connection to mail.openforall.net:993 (main-remote)<br />Traceback (most recent call last):<br /> File "/usr/bin/offlineimap", line 22, in <module><br /> oi.run()<br /> File "/usr/share/offlineimap/offlineimap/init.py", line 91, in run<br /> self.__serverdiagnostics(options)<br /> File "/usr/share/offlineimap/offlineimap/init.py", line 523, in __serverdiagnostics<br /> account.serverdiagnostics()<br /> File "/usr/share/offlineimap/offlineimap/accounts.py", line 194, in serverdiagnostics<br /> self.ui.serverdiagnostics(remote_repo, 'Remote')<br /> File "/usr/share/offlineimap/offlineimap/ui/UIBase.py", line 473, in serverdiagnostics<br /> folders = repository.getfolders()<br /> File "/usr/share/offlineimap/offlineimap/repository/IMAP.py", line 452, in getfolders<br /> imapobj = self.imapserver.acquireconnection()<br /> File "/usr/share/offlineimap/offlineimap/imapserver.py", line 572, in acquireconnection<br /> af=self.af,<br /> File "/usr/share/offlineimap/offlineimap/imaplibutil.py", line 194, in __init__<br /> super(WrappedIMAP4_SSL, self).__init__(*args, **kwargs)<br /> File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 2191, in __init__<br /> IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout, debug_buf_lvl)<br /> File "/usr/lib/python2.7/dist-packages/imaplib2.py", line 360, in __init__<br /> self.open(host, port)<br /> File "/usr/share/offlineimap/offlineimap/imaplibutil.py", line 201, in open<br /> "having SSL helps nothing.", OfflineImapError.ERROR.REPO)<br />offlineimap.error.OfflineImapError: No CA certificates and no server fingerprints configured. You must configure at least something, otherwise having SSL helps nothing.</p>
<p>What I need to do?</p>
<p>Thanks</p>
<p><br /></p>
</body></html>