debug list of mailboxes
This commit is contained in:
parent
07d4e85495
commit
c5cecd226d
1 changed files with 4 additions and 0 deletions
|
@ -63,6 +63,10 @@ class BackupImap:
|
||||||
def _process_mailbox(self, mailbox):
|
def _process_mailbox(self, mailbox):
|
||||||
self._log.debug("Searching for all mailboxes in mailbox '%s'...", mailbox)
|
self._log.debug("Searching for all mailboxes in mailbox '%s'...", mailbox)
|
||||||
list_response, list_data = self.imap.list(f"\"{mailbox}\"", '*')
|
list_response, list_data = self.imap.list(f"\"{mailbox}\"", '*')
|
||||||
|
self._log.debug(
|
||||||
|
"Mailboxes: %s",
|
||||||
|
list_data
|
||||||
|
)
|
||||||
if list_response == 'OK':
|
if list_response == 'OK':
|
||||||
for subdir in list_data:
|
for subdir in list_data:
|
||||||
if subdir:
|
if subdir:
|
||||||
|
|
Loading…
Reference in a new issue