我正在尝试在OSX 10.5.6机器上配置fetchmail。我已经按照以下步骤设置了.fetchmailrc:
poll my.mailserver.com with proto IMAP
timeout 30
user "username" is "username" here options ssl keep
我正在使用.netrc文件存储用户名/密码,如下所示:
machine my.mailserver.com
login username
password secret
但是,当我运行fetchmail时,出现以下错误:
reading message username@my.mailserver.com:1 of 458 (4436 octets)
fetchmail: timeout after 30 seconds waiting for listener to respond.
fetchmail: socket error while fetching from username@my.mailserver.com and delivering to SMTP host localhost
fetchmail: Query status=2 (SOCKET)
fetchmail: Server certificate verification error: unable to get local issuer certificate
fetchmail: Server certificate verification error: certificate not trusted
fetchmail: Server certificate verification error: unable to verify the first certificate
fetchmail: Error exchanging credentials
似乎fetchmail可以登录OK,但无法将任何内容传递给postfix(我已经通过telnetting到localhost:25验证并运行了它)。
接下来,我使用-vv标志调用fetchmail以获取有关正在发生的事情的更多信息。我注意到以下奇怪的消息:
Trying to connect to 208.97.132.126/25...fetchmail: timeout after 5 seconds waiting for listener to respond.
fetchmail: 6.3.8 querying my.mailserver.com (protocol POP3) at Tue, 14 Jul 2009 18:20:09 +1000 (EST): poll completed
fetchmail: discarding new UID list
fetchmail: Query status=2 (SOCKET)
该IP地址非常奇怪。fetchmail不应该只尝试连接到本地主机来传递消息吗?快速nslookup显示目标主机域是jankymail-mx1.g.dreamhost.com。wtf?
开箱即用的fetchmail install btw即可完成所有工作-这是全新的iMac!有谁知道会发生什么或我做错了什么?
ping?好奇添加smtpaddress是否有帮助?
—
derobert