Last active
December 30, 2015 09:39
-
-
Save mmorey/7810612 to your computer and use it in GitHub Desktop.
Gmail configuration file for backing up email in multiple formats
This file contains 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
[retriever] | |
type = SimpleIMAPSSLRetriever | |
server = imap.gmail.com | |
username = john.smith@gmail.com | |
mailboxes = ("[Gmail]/All Mail",) | |
[destination] | |
type = MultiDestination | |
destinations = ('[mboxrd-destination]', '[maildir-destination]') | |
[mboxrd-destination] | |
type = Mboxrd | |
path = ~/Documents/backups/gmail/gmail-backup.mbox | |
[maildir-destination] | |
type = Maildir | |
path = ~/Documents/backups/gmail/ | |
[options] | |
# print messages about each action (verbose = 2) | |
# Other options: | |
# 0 prints only warnings and errors | |
# 1 prints messages about retrieving and deleting messages only | |
verbose = 2 | |
message_log = ~/.getmail/gmail.log | |
# preserves your mail after backup | |
delete = false | |
# just get new mails | |
read_all = false | |
# do not alter messages | |
delivered_to = false | |
received = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment