fetchmail 没有从提供商处收到邮件

fetchmail 没有从提供商处收到邮件

不知怎的,无法让 fetchmail 正常工作...它不会从提供商处收到电子邮件,但可以正确连接

# Configuration created Tue Feb 10 10:18:32 2015 by fetchmailconf 1.52 $Revision: 4636 $ set postmaster "[email protected]"
#set nobouncemail
#set no spambounce
#set properties ""
#set daemon 900 poll mail.domain.com with proto POP3 localdomains domain.com
    envelope X-Originally-To
    user 'user' with password 'pass' to * here options smtphost  192.168.15.150

fetchmail: WARNING: Running as root is discouraged.
fetchmail: 6.3.2 querying mail.domain.com (protocol POP3) at Tue Feb 10 10:38:09 2015: poll started
fetchmail: POP3< +OK POP3 server ready <[email protected]>
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR bad command
fetchmail: bad command
fetchmail: Repoll immediately on [email protected]
fetchmail: POP3< +OK POP3 server ready <[email protected]>
fetchmail: POP3> USER user
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK connected
fetchmail: POP3> STAT
fetchmail: POP3< +OK 1 3255
fetchmail: POP3> LAST
fetchmail: POP3< -ERR bad command
fetchmail: bad command
fetchmail: POP3> UIDL
fetchmail: POP3< +OK listing follows
fetchmail: POP3< 1 15021010380695
fetchmail: POP3< .
1 message for user at mail.domain.com (3255 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< -ERR message 1 not found
fetchmail: message 1 not found
fetchmail: POP3> QUIT
fetchmail: POP3< +OK
fetchmail: client/server protocol error while fetching from [email protected]
fetchmail: 6.3.2 querying mail.domain.com (protocol POP3) at Tue Feb 10 10:38:09 2015: poll completed
fetchmail: Query status=4 (PROTOCOL)
fetchmail: normal termination, status 4
Done.

答案1

您的邮件服务器坏了。它声称它在 UIDL 命令中有一条编号为 1 的消息,但随后尝试获取该消息大小的 LIST 命令却声称不存在此类消息。

答案2

某些 POP3 服务器缺少 LIST 命令。该命令确实给出了每封可用邮件的大小。要避免此检查并找到恢复服务的路径,只需使用 fetchmail“fetchsizelimit”选项并将其设置为 0。

获取大小限制 0

这样,fetchmail 不再关心大小并跳过 LIST 命令的使用。问题解决了。

相关内容