电子邮件服务器
offlineimap actually does “synchronization”—if an email is deleted from the server, the email will be deleted from the local Maildir (http://offlineimap.org). This is good for mail sync.
offlineimap实际上执行“同步”-如果从服务器删除了一封电子邮件,则该电子邮件将从本地Maildir( http://offlineimap.org )中删除。 这对邮件同步很有用。
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 can retrieve emails through pop3 and imap4 and save the emails to maildirs and mboxrd files.
您可以使用`getmail` ,它可以通过pop3和imap4检索电子邮件,并将电子邮件保存到maildirs和mboxrd 文件中 。
getmail is a mail retriever designed to allow you to get your mail from one or more mail accounts on various mail servers to your local machine for reading with a minimum of fuss. getmail is designed to be secure, flexible, reliable, and easy-to-use. getmail is designed to replace other mail retrievers such as fetchmail.
getmail是一种邮件检索器,旨在使您能够将邮件从各种邮件服务器上的一个或多个邮件帐户发送到本地计算机,以最小的麻烦读取。 getmail被设计为安全,灵活,可靠且易于使用。 getmail旨在替代其他邮件检索器,例如fetchmail。
You can use fetchmail
+ procmail
to fetch email from pop3 which is usually supported by email servers and store the email in Maildir.
您可以使用fetchmail
+ procmail
从通常由电子邮件服务器支持的pop3中提取电子邮件,并将电子邮件存储在Maildir中。
There are lots good tutorials on the Web which you can refer to:
网上有很多不错的教程,您可以参考:
Backup your Gmail account in maildir format using fetchmail: http://blog.wains.be/2008/03/19/backup-your-gmail-account-in-maildir-format-using-fetchmail/
使用fetchmail备份maildir格式的Gmail帐户: http : //blog.wains.be/2008/03/19/backup-your-gmail-account-in-maildir-format-using-fetchmail/
Managing your email with fetchmail, procmail and mutt: http://easierbuntu.blogspot.com/2011/09/managing-your-email-with-fetchmail.html
使用fetchmail,procmail和mutt管理电子邮件: http : //easierbuntu.blogspot.com/2011/09/managing-your-email-with-fetchmail.html
Using fetchmail and procmail for maildir style storage from a pop3 account: http://www.ioncannon.net/system-administration/97/using-fetchmail-and-procmail-for-maildir-style-storage-from-a-pop3-account/
使用fetchmail和procmail从pop3帐户存储maildir 样式 : http : //www.ioncannon.net/system-administration/97/using-fetchmail-and-procmail-for-maildir-style-storage-from-a-pop3 -帐户/
Geek to Live: Back up Gmail with fetchmail: http://lifehacker.com/235207/geek-to-live–back-up-gmail-with-fetchmail
极客直播:使用fetchmail备份Gmail: http : //lifehacker.com/235207/geek-to-live–back-up-gmail-with-fetchmail
翻译自: https://www.systutorials.com/how-to-back-up-emails-from-the-email-server/
电子邮件服务器