Tuesday, May 15, 2007

Linux fetchmail 使用实例

fetchmail 工具需要一个名为 .fetchmailrc 的配置文件才能正常工作。 这个文件中包含了服务器信息, 以及登录使用的凭据。 由于这个文件包含敏感内容, 建议将其设置为只有属主所有, 使用下面的命令:

$> chmod 600 .fetchmailrc

下面的 .fetchmailrc 提供了一个将某一用户的信箱通过 POP 下载到本地的例子。

poll pop3.163.com proto pop3:
username "test", with password "password", is "yu" here;

更多的资料可参考官方手册,另此软件作者Eric Steven Raymond是个开源项目牛人,出过一篇有影响力的文章《大教堂与集市》。

No comments :