summaryrefslogtreecommitdiffstats
path: root/pykolab/imap
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/imap')
-rw-r--r--pykolab/imap/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pykolab/imap/__init__.py b/pykolab/imap/__init__.py
index 13857f9..242fe00 100644
--- a/pykolab/imap/__init__.py
+++ b/pykolab/imap/__init__.py
@@ -489,6 +489,8 @@ class IMAP(object):
_tests.append(_shared)
for _folder in self.lm():
+ log.debug(_("Folder %s") % (_folder), level=8)
+
_subscribe = True
for _test in _tests:
@@ -499,9 +501,11 @@ class IMAP(object):
_subscribe = False
if _subscribe:
+ log.debug(_("Subscribing %s to folder %s") % (folder, _folder), level=8)
self.subscribe(_folder)
self.logout()
+ self.connect(domain=self.domain)
def user_mailbox_delete(self, mailbox_base_name):
"""