IMAPdedup
IMAPdedup copied to clipboard
mailbox list with / delimiter gives error on recursive processing
I tryed to deduplicate mails on my mailbox (dont know the kind of server)
I got a list of mailboxes just fine INBOX INBOX/subfolder INBOX/subfolder/subfolder and so on
with the option -r it wont process:
"Traceback (most recent call last):
File "./imapdedup.py", line 535, in
-> Probably the delimiter of folders is the problem?! . vs / ?
Similar problem here when running against Apple iCloud Mail:
+ python3 imapdedup.py --server imap.mail.me.com --port 993 --ssl --user xxx --password xxx --verbose --show --dry-run --checksum --recursive INBOX
Traceback (most recent call last):
File "imapdedup.py", line 598, in <module>
process(options, mboxes)
File "imapdedup.py", line 445, in process
delimiter = bits[1].decode()
TypeError: 'NoneType' object is not subscriptable
… but only with the --recursive
option specified.
This is at commit 5155f74.