How to back up emails from the email server?

offlineimap actually does “synchronization”—if an email is deleted from the server, the email will be deleted from the local Maildir ( This is good for mail sync. However, for backing up emails,one would like to keep the email even if it is deleted from the server. How to achieve this? You may use `getmail` which […]