![]() ![]() Also, you might need to replace box labels by whatever GMail calls that directory in the language of your Google account. The mailboxes variable must be set to in those cases. Even if all GMail accounts are migrated to the new name, the IMAP-Server still assumes Google Mail as the mail box directory. Note that Gmail was called Google Mail in some countries like Germany. The mailbox which we backup will be All Mail. For POP3 we can use the type SimplePOP3SSLRetriever, but we will also have to modify the server field. The retriever section tells getmail where to connect. This setting can be different from the language setting of the Google account. Tip: If the mailbox /Sent Mail does not exist, try setting your Gmail's language setting to English. Mailboxes = ("Inbox", "/Sent Mail") # optional - leave this line out to just grab the inbox ~/.getmail/getmailrc # More configuration options here: The cur, new and tmp folders are required by the Maildir format and by getmail.Įdit the configuration file and add the entries below. ![]() We also need to create the folder where the emails will be backed-up:įor this example ~/bak/mail was chosen, but it could just as well be ~/mail. Unfortunately this directory and file do not exist by default, so we need to create them. Getmail reads its configuration from ~/.getmail/getmailrc by default. We can use getmail to fully backup email messages from a Gmail account.Įmails will be backed-up in Maildir format, meaning that each email will be a separate text file, readable with any email client, or even with a text editor. (Discuss in Talk:Backup Gmail with getmail) Notes: Only #Troubleshooting is specific to Gmail. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |