Browse Source

moved to github

master
Lukas 2 years ago
parent
commit
2c35314ff9
  1. 40
      README.md

40
README.md

@ -1,40 +1,2 @@
# pymap-copy
In our company we often have to copy mailboxes from one to another server. For this we used [IMAPCopy](http://www.ardiehl.de/imapcopy/) as so far. Due to compatibility issues, first of all the missing SSL/TLS support i wrote my own python-based version. My goal was it to do this without external libraries. I hope you enjoy it!
## Features
- Copies folders and subfolders
- Copies mails even with flags (seen, answered, ...)
- Simple usage
- Supports SSL/TLS
- Optional also without
## Requirements
- Python >= 3.5
## Installation
Just clone this repo and run `./pymap-copy.py`.
## Simple usage
By running the following command the whole structure (folders & mails) from user1 will be copy to the mailbox of user2.
```
./pymap-copy \
--source-user=user1 \
--source-server=server1.example.org \
--source-pass=2345678 \
--destination-user=user2 \
--destination-server=server2.example.info \
--destination-pass=abcdef
```
If you just want to look what would happen append `-d`/`--dry-run`.
## TODO
- [ ] Quota warning if source is bigger than the destination
- [ ] Incremental copy (just copy new mails)
- [ ] Copy folder flags as well
- [ ] Statistics
## Acknowledgments
- [imapclient](https://github.com/mjs/imapclient)
## Credits
Created and maintained by Lukas Schulte-Tickmann.
Moved to github: [github.com/Schluggi/pymap-copy](https://github.com/Schluggi/pymap-copy)