imapserver: provide some SSL info while in imap debug mode
Github-ref: https://github.com/OfflineIMAP/offlineimap/issues/457 Tested-by: Maximilian Kaul <https://github.com/maximiliankaul> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
39b657194a
commit
8c04684f3b
@ -527,6 +527,8 @@ class IMAPServer(object):
|
||||
elif self.usessl:
|
||||
self.ui.connecting(
|
||||
self.repos.getname(), self.hostname, self.port)
|
||||
self.ui.debug('imap', "%s: level '%s', version '%s'"%
|
||||
(self.repos.getname(), self.tlslevel, self.sslversion))
|
||||
imapobj = imaplibutil.WrappedIMAP4_SSL(
|
||||
host=self.hostname,
|
||||
port=self.port,
|
||||
|
Loading…
Reference in New Issue
Block a user