diff --git a/offlineimap/imapserver.py b/offlineimap/imapserver.py index c1763ce..707464d 100644 --- a/offlineimap/imapserver.py +++ b/offlineimap/imapserver.py @@ -67,6 +67,8 @@ class IMAPServer: self.sslclientcert = repos.getsslclientcert() self.sslclientkey = repos.getsslclientkey() self.sslcacertfile = repos.getsslcacertfile() + if self.sslcacertfile is None: + self.verifycert = None # disable cert verification self.delim = None self.root = None self.maxconnections = repos.getmaxconnections()