Created
October 29, 2020 13:58
-
-
Save Nav-Appaiya/285f2d95277cdea013488afcf534505f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # from: https://www.basvanbeek.nl/linux/migrate-mail-from-outlook-pst-file-to-remote-imap-server/ | |
| sudo yum install libpst | |
| wget "https://raw.githubusercontent.com/rgladwell/imap-upload/master/imap_upload.py" | |
| mkdir mailbox | |
| readpst -o mailbox -r yourLocalFile.pst | |
| # Upload Inbox | |
| python imap_upload.py --host mail.domain.com --port 993 --ssl --user='[email protected]' --password='YourPassword!' \ | |
| -r 'mailbox/[email protected]/Postvak IN'; | |
| # Upload Sent items | |
| python imap_upload.py --host mail.domain.com --port 993 --ssl --user='[email protected]' --password='YourPassword!' \ | |
| -r 'mailbox/[email protected]/Verzonden items'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment