Page MenuHomePhorge

D92.id182.diff
No OneTemporary

D92.id182.diff

diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -134,6 +134,10 @@
"""
cyruslib.CYRUS.login(self, *args, **kw)
self.separator = self.SEP
+ try:
+ self._id()
+ except Exception, errmsg:
+ pass
log.debug(_("Continuing with separator: %r") % (self.separator), level=8)
self.murder = False
@@ -216,6 +220,13 @@
from pykolab import imap_utf7
return imap_utf7.decode(folder)
+ def _id(self, identity=None):
+ if identity == None:
+ identity = "Python/Kolab %s"
+
+ typ, dat = self.m._simple_command('ID', identity)
+ res, dat = self.m._untagged_response(typ, dat, 'ID')
+
def _setquota(self, mailfolder, quota):
"""
Login to the actual backend server.

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 6, 1:27 PM (20 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10186776
Default Alt Text
D92.id182.diff (881 B)

Event Timeline