Page MenuHomekolab.org

kolab undelete-mailbox doesn't find the mailbox to undelete
Closed, ResolvedPublic

Description

When I run command:

kolab undelete-mailbox -l debug -d 9 'user/the.user/mailbox@domain.org`

kolab cli can't find the deleted mailbox because, as I see in the debug output, python fails to replace place holders with values:
kolab debug output is:

28:19.36 > PELD6 LIST "" "DELETED/user/the.user/mailbox/59CAB83F@domain.org"
28:19.37 < * LIST (\HasNoChildren) "/" "DELETED/user/the.user/mailbox/59CAB83F@domain.org"
28:19.37      matched r'\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => ('LIST', ' (\\HasNoChildren) "/" "DELETED/user/the.user/mailbox/59CAB83F@domain.org"', '(\\HasNoChildren) "/" "DELETED/user/the.user/mailbox/59CAB83F@domain.org"')
28:19.37 untagged_responses[LIST] 0 += ["(\HasNoChildren) "/" "DELETED/user/the.user/mailbox/59CAB83F@domain.org""]
28:19.37 < PELD6 OK Completed (0.000 secs 2 calls)
28:19.37      matched r'(?P<tag>PELD\d+) (?P<type>[A-Z]+) (?P<data>.*)' => ('PELD6', 'OK', 'Completed (0.000 secs 2 calls)')
28:19.37 untagged_responses[LIST] => ['(\\HasNoChildren) "/" "DELETED/user/the.user/mailbox/59CAB83F@domain.org"']
28:19.37 > PELD7 LIST "" "%(deleted_prefix)s%(separator)suser/the.user/mailbox/*@domain.org"
28:19.37 < PELD7 OK Completed (0.000 secs)
28:19.37      matched r'(?P<tag>PELD\d+) (?P<type>[A-Z]+) (?P<data>.*)' => ('PELD7', 'OK', 'Completed (0.000 secs)')