我正在尝试在我的OSX 10.5.6盒子上configurationfetchmail。 我已经安装我的.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 [email protected]:1 of 458 (4436 octets) fetchmail: timeout after 30 seconds waiting for listener to respond. fetchmail: socket error while fetching from [email protected] 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可以login确定,但它没有提供任何东西后缀(我已经validation是通过telnetting本地主机: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。 跆拳道?
这是所有与现成的fetchmail安装顺便说一句 – 这是一个全新的iMac! 有没有人有一个想法可能发生什么或我做错了什么?
添加选项: smtphost localhost
甚至smtphost 127.0.0.1
告诉它传递到本地主机。 我不知道为什么它是默认的(是你的整个fetchmail的configuration?)。
实际上,这可能是试图使用ETRN或其他东西; 该IPparsing为jankymail-mx1.g.dreamhost.com …是你的邮件服务器?
另外,如果证书是自签名的,或者与主机名不匹配,则可能需要sslcommonname
或sslfingerprint
选项。