fetchmail用不了,red hat linux

sh/bash/dash/ksh/zsh等Shell脚本
回复
lwf808
帖子: 1
注册时间: 2009-05-05 21:48

fetchmail用不了,red hat linux

#1

帖子 lwf808 » 2009-05-05 22:02

小部分信息有修改!应该无伤大雅。

.fetchmailrc配置如下:

set postmaster "lw08"
poll pop.qq.com
protocol POP3
username lw08 there with password g9662946 is lw08 here



返回:

3 messages for lw08 at pop.qq.com (5505 octets).
reading message lw08@pop.qq.com:1 of 3 (1878 octets).fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: 拒绝连接.
fetchmail: SMTP connect to localhost failed
fetchmail: SMTP transaction error while fetching from lw08@pop.qq.com and delivering to SMTP host localhost
fetchmail: Query status=10 (SMTP)


为什么会这样呢? “lw08@pop.qq.com正常么”


$fetchmail -v

fetchmail: 6.3.6 querying pop.qq.com (protocol POP3) at 2009年05月06日 星期三 05时55分36秒: poll started
Trying to connect to 58.251.150.237/110...connected.
fetchmail: POP3< +OK QQMail POP3 Server v1.0 Service Ready(QQMail v2.0)
fetchmail: POP3> CAPA
fetchmail: POP3< -ERR Command Error
fetchmail: Command Error
fetchmail: Repoll immediately on lw08@pop.qq.com
Trying to connect to 58.251.150.237/110...connected.
fetchmail: POP3< +OK QQMail POP3 Server v1.0 Service Ready(QQMail v2.0)
fetchmail: POP3> USER lw08
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< +OK
fetchmail: POP3> STAT
fetchmail: POP3< +OK 4 8519
fetchmail: POP3> LAST
fetchmail: POP3< -ERR Unknown command
fetchmail: Unknown command
fetchmail: POP3> UIDL
fetchmail: POP3< +OK
fetchmail: POP3< 1 ZC111111333333Q222222hjtRAkQ57
fetchmail: POP3< 2 ZC111111~333333M222222I4OiUA75
fetchmail: POP3< 3 ZC111111u333333222222U_iSezA31
fetchmail: POP3< 4 ZC111111Q333333222222yeX4pKQ42
fetchmail: POP3< .
4 messages for lw08 at pop.qq.com (8519 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 1878
fetchmail: POP3> TOP 1 99999999
fetchmail: POP3< +OK
reading message lw08@pop.qq.com:1 of 4 (1878 octets)
Trying to connect to 127.0.0.1/25...connection failed.
fetchmail: connection to localhost:smtp [127.0.0.1/25] failed: 拒绝连接.
fetchmail: SMTP connect to localhost failed
fetchmail: POP3> QUIT
fetchmail: POP3< Hello
fetchmail: SMTP transaction error while fetching from lw08@pop.qq.com and delivering to SMTP host localhost
fetchmail: 6.3.6 querying pop.qq.com (protocol POP3) at 2009年05月06日 星期三 05时55分52秒: poll completed
fetchmail: Query status=10 (SMTP)
fetchmail: normal termination, status 10



在/etc/NetworkManager/interfaces文件里加入
auto lo
iface lo inet loopback

加入后也是没有用。
能ping 127.0.0.1
回复