imap_copy icon indicating copy to clipboard operation
imap_copy copied to clipboard

Simple tool to copy folders from one IMAP server to another server.

Results 13 imap_copy issues
Sort by recently updated
recently updated
newest added

Some bugfixes and improved documentation

This fixes the recursion bug on servers that return \HasNoChildren for the list command on folders with no child folders present. This fixes bug: https://github.com/jarus/imap_copy/issues/2

Needed to change the line 100 to `new_source_mailbox = d.split('"')[2].lstrip()` Not sure why, but I am using a german server. Python 2.7.6, WSL

Some messages have negative values in the hour field of the timestamp (presumably due to an issue with the originating server). This can be handled by checking for and correcting...

The code has a bug which causes it to use the same mailbox separator on both servers. Some servers use different separators. For example, one server might use '.' so...

Is it possible to copy a folder recursively?

Hello! I've faced with next problem. I want to recursively copy all messages from one mailbox to another. Both mails are located on YANDEX mail server. I use next command...

Crashed during copy on destination server. Your crash message suggests that I should report the problem. Here is what I can report. Command line (anonymised) : `python imapcopy.py -c "imap.yyy.net:993"...

With the `--all--mailboxes` option you should able to copy all mailboxes from the source to the destination.

enhancement

Here is a patch to better handle flags and timestamps ``` diff --git a/imapcopy.py b/imapcopy.py index 3190a57..2c56a95 100644 --- a/imapcopy.py +++ b/imapcopy.py @@ -123,12 +123,13 @@ class IMAP_Copy(object): progress_count, mail_count))...