邮件检索、分拣和投递系统
getmail的Python项目详细描述
getmail6是一个灵活的、可扩展的邮件检索系统 支持POP3、IMAP4和SSL变体、maildirs、MBORD文件, 外部MDA、任意邮件筛选、单用户和域邮箱, 以及许多其他有用的功能。在
getmail版权所有(C)1998-2020 Charles Cazabon等人。 getmail是根据GNU通用公共许可证版本2(仅限)授权使用的。 请参阅docs/COPYING,以获取特定术语和分发信息。在
getmail6对python3进行了修改。 这些更改可能仍包含一些bug。 请在https://github.com/getmail6/getmail6报告。 有关报告错误的说明,请参见docs/BUGS。在
getmail6可能无法与2.7以上的Python版本一起使用。 使用getmail 5.14。在
安装
要安装:
pip install getmail6
要卸载:
^{pr2}$如果添加--user,则可以在主目录中安装getmail6。在
如果getmail6可以通过Linux发行版获得,那么最好使用它。在
使用
getmail6不是python API。 getmail6提供命令行工具:
- 获取邮件
- 获取邮件\u maildir
- 获取邮件
- 获取邮件获取
- getmail gmail xoauth令牌
在使用getmail之前,必须对其进行配置。 请参见docs/configuration.txt和docs/getmailrc-examples。 例如:
[retriever] type = SimpleIMAPSSLRetriever server = imap.gmail.com port = 993 username = <your_email_here> #password = ... or password_command = ("pass", "<your_email_here>") [destination] type = Maildir path = ~/Mail/<your_email_here>/INBOX/ [options] read_all = true delete = true
文件
有关设置和使用getmail的详细信息,请参阅HTML文档。 它包含在docs子目录中, 并将安装在<PREFIX>/doc/getmail-<version>/(默认情况下)。在
docs/documentation.txt docs/configuration.txt docs/faq.txt docs/troubleshooting.txt
- 项目
标签: