Running command
kolab undelete-mailbox -l debug -d 9 --dry-run 'DELETED/user/oat/Trash/Archive/6658E996@kolabnow.com'
Getting:
2024-06-18 17:59:11,356 pykolab.imap WARNING [3235579] No annotations for user/oat@kolabnow.com: {} 2024-06-18 17:59:12,358 pykolab.imap DEBUG [3235579] 59:12.35 > b'GNLJ12 GETMETADATA "user/oat@kolabnow.com" (DEPTH 0) (/shared/vendor/cmu/cyrus-imapd/server /private/vendor/cmu/cyrus-imapd/server)' 2024-06-18 17:59:12,359 pykolab.imap DEBUG [3235579] 59:12.35 < b'* METADATA user/oat@kolabnow.com ("/shared/vendor/cmu/cyrus-imapd/server" "imapb032.mykolab.com")' 2024-06-18 17:59:12,359 pykolab.imap DEBUG [3235579] 59:12.35 matched b'\\* (?P<type>[A-Z-]+)( (?P<data>.*))?' => (b'METADATA', b' user/oat@kolabnow.com ("/shared/vendor/cmu/cyrus-imapd/server" "imapb 2024-06-18 17:59:12,360 pykolab.imap DEBUG [3235579] 59:12.36 untagged_responses[METADATA] 0 += ["b'user/oat@kolabnow.com ("/shared/vendor/cmu/cyrus-imapd/server" "imapb032.mykolab.com")'"] 2024-06-18 17:59:12,360 pykolab.imap DEBUG [3235579] 59:12.36 < b'GNLJ12 OK Completed' 2024-06-18 17:59:12,360 pykolab.imap DEBUG [3235579] 59:12.36 matched b'(?P<tag>GNLJ\\d+) (?P<type>[A-Z]+) (?P<data>.*)' => (b'GNLJ12', b'OK', b'Completed') 2024-06-18 17:59:12,360 pykolab.imap DEBUG [3235579] 59:12.36 untagged_responses[METADATA] => [b'user/oat@kolabnow.com ("/shared/vendor/cmu/cyrus-imapd/server" "imapb032.mykolab.com")'] 2024-06-18 17:59:12,360 pykolab.imap DEBUG [3235579] [GETMETADATA user/oat@kolabnow.com] Mailbox '"user/oat@kolabnow.com"' is not the same as 'b'user/oat@kolabnow.com'' annotations user/oat@kolabnow.com {}