summaryrefslogtreecommitdiffstats
path: root/pykolab/imap/cyrus.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-29 22:17:51 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-11-29 22:17:51 +0000
commit78d40271e62b5ada19b76849b545fb2044e53610 (patch)
tree62fb83e0954473564577f71859b9f02a7b1950ff /pykolab/imap/cyrus.py
parent746901752b119f5c53ce6b334f863f7b248fc46d (diff)
downloadpykolab-78d40271e62b5ada19b76849b545fb2044e53610.tar.gz
Allow re-login to an existing IMAP server connection.
Outcomment the incomplete if statement in Cyrus
Diffstat (limited to 'pykolab/imap/cyrus.py')
-rw-r--r--pykolab/imap/cyrus.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/imap/cyrus.py b/pykolab/imap/cyrus.py
index 38ac88e..d072428 100644
--- a/pykolab/imap/cyrus.py
+++ b/pykolab/imap/cyrus.py
@@ -191,6 +191,9 @@ class Cyrus(cyruslib.CYRUS):
imap.connect('imap://%s:143' %(server))
log.debug(_("Setting annotation %s on folder %s") %(annotation,mailfolder), level=8)
+
+ #if annotation.startswith('/private'):
+
imap.setannotation(mailfolder, annotation, value)
def _xfer(self, mailfolder, current_server, new_server):