Merge pull request #92 from thekix/master
Support for IMAPv4 ID extension
This commit is contained in:
commit
2ce05bc98a
@ -583,6 +583,11 @@ class IMAPServer:
|
|||||||
af=self.af,
|
af=self.af,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# If 'ID' extension is used by the server, we should use it
|
||||||
|
if 'ID' in imapobj.capabilities:
|
||||||
|
l_str = '("name" "OfflineIMAP" "version" "{}")'.format(offlineimap.__version__)
|
||||||
|
imapobj.id(l_str)
|
||||||
|
|
||||||
if not self.preauth_tunnel:
|
if not self.preauth_tunnel:
|
||||||
try:
|
try:
|
||||||
self.__authn_helper(imapobj)
|
self.__authn_helper(imapobj)
|
||||||
|
Loading…
Reference in New Issue
Block a user