Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F16743690
D92.id184.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D92.id184.diff
View Options
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -25,6 +25,7 @@
import pykolab
+from pykolab.constants import *
from pykolab.imap import IMAP
from pykolab.translate import _
@@ -134,6 +135,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 +221,13 @@
from pykolab import imap_utf7
return imap_utf7.decode(folder)
+ def _id(self, identity=None):
+ if identity == None:
+ identity = '("name" "Python/Kolab" "version" "%s")' % (__version__)
+
+ 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
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 1:29 PM (20 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10186788
Default Alt Text
D92.id184.diff (1 KB)
Attached To
Mode
D92: Show ID to pass #Guam groupware folder filtering rulesets
Attached
Detach File
Event Timeline
Log In to Comment