[问题]求助,用Fetchmail收Gmail的麻烦进来看一下

上网、浏览、聊天、下载等
回复
benangel
帖子: 6
注册时间: 2007-12-05 10:06
送出感谢: 0
接收感谢: 0

[问题]求助,用Fetchmail收Gmail的麻烦进来看一下

#1

帖子 benangel » 2007-12-05 10:15

我配置Fetchmail收邮件的时候明明就显示登录成功了,邮件就是死活收不下来,我贴上我的配置文件,哪位高人帮看下

#每90秒检查邮件
#set daemon 90
set postmaster BenAngel
set logfile ~/.fetchmail.log
#set mda "/usr/bin/esmtp -f %F %T"
#设置收信服务器
poll pop.gmail.com proto POP3 and options no dns
user "recent:benangel65@gmail.com" there with pass '****(密码改没了,总不能贴出来吧呵呵)' is 'BenAngel' here options ssl sslcertck sslcertpath '/home/benangel/.certs'

还有运行Fetchmail时候的Log,明明就登录成功的了,真奇怪

benangel@BenAngel:~/.getmail$ getmail -a
^[[AOperation aborted by user (keyboard interrupt)
benangel@BenAngel:~/.getmail$ mutt
sh: ”vim”: not found
benangel@BenAngel:~/.getmail$ fetchmail -avk
fetchmail: 6.3.8 querying pop.gmail.com (protocol POP3) at 2007年12月05日 星期三 10时05分08秒: poll started
fetchmail: Trying to connect to 209.85.147.109/995...connected.
fetchmail: Issuer Organization: Equifax
fetchmail: Unknown Issuer CommonName
fetchmail: Server CommonName: pop.gmail.com
fetchmail: pop.gmail.com key fingerprint: 44:A8:E9:2C:FB:A9:7E:6D:F9:DB:F3:62:B2:9E:F1:A9
fetchmail: POP3< +OK Gpop ready for requests from 222.216.168.169 j38pf14333401waf
fetchmail: POP3> CAPA
fetchmail: POP3< +OK Capability list follows
fetchmail: POP3< USER
fetchmail: POP3< RESP-CODES
fetchmail: POP3< EXPIRE 0
fetchmail: POP3< LOGIN-DELAY 300
fetchmail: POP3< X-GOOGLE-VERHOEVEN
fetchmail: POP3< UIDL
fetchmail: POP3< .
fetchmail: POP3> USER recent:benangel65@gmail.com
fetchmail: POP3< +OK send PASS
fetchmail: POP3> PASS *
fetchmail: POP3< +OK Welcome.
fetchmail: POP3> STAT
fetchmail: POP3< +OK 33 574649
fetchmail: 33 messages for recent:benangel65@gmail.com at pop.gmail.com (574649 octets).
fetchmail: POP3> LIST 1
fetchmail: POP3< +OK 1 7958
fetchmail: POP3> RETR 1
fetchmail: POP3< +OK message follows
fetchmail: 正在读取信息recent:benangel65@gmail.com@pop.gmail.com:1 of 33 (7958 octets)
fetchmail: Trying to connect to 127.0.0.1/25... (log message incomplete)fetchmail: timeout after 300 seconds waiting for listener to respond.
fetchmail: socket error while fetching from recent:benangel65@gmail.com@pop.gmail.com and delivering to SMTP host localhost
fetchmail: 6.3.8 querying pop.gmail.com (protocol POP3) at 2007年12月05日 星期三 10时11分38秒: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2

麻烦哪位高人解答下
问题补充:
似乎搞清楚是什么问题了,我的Ubuntu很奇怪,Ping 127.0.0.1不通,谁能解答一下怎么回事
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 zhan » 2007-12-05 14:01

maybe no mda such as "procmail" or "sendmail(postfix)"
fetchmail just fetches your mail and then submit them to your local mda, but if you have not mda, you can not get your mail in /var/mail/<yourname>

so, try "sudo apt-get install procmail" first and fetch your mail again.

sorry my chinese input method has gone ....

by the way, you said that you can't ping 127.0.0.1. please run command "ifconfig lo" . if no output , maybe your network configuration is wrong. please make sure there are some lines contain

代码: 全选

auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
in your "/etc/network/interfaces" file

Good Luck!
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
benangel
帖子: 6
注册时间: 2007-12-05 10:06
送出感谢: 0
接收感谢: 0

#3

帖子 benangel » 2007-12-06 15:59

谢谢,昨天就已经找到问题的解决办法了,在/etc/net/interfaces文件里加入
auto lo
iface lo inet loopback
意思应该是自动加入本机地址的回环链路吧
再次忠心感谢
回复

回到 “因特网相关软件”