.fetchmailrc配置问题请教

sh/bash/dash/ksh/zsh等Shell脚本
回复
yxin007
帖子: 33
注册时间: 2008-07-19 13:43

.fetchmailrc配置问题请教

#1

帖子 yxin007 » 2008-10-23 18:53

我的.fetchmailrc是 这样配置的:

poll mail.126.com
with proto POP3
user "yxin007@126.com"
there with password "我的邮箱密码"
is '系统上的一个用户名' here
mda "/usr/bin/procmail -d %T"
options
keep
ssl
sslcertck
sslcertpath /etc/ssl/certs/

然后用sanjin@sanjin-desktop:~$ fetchmail
fetchmail: 连接到 mail.126.com:pop3s [220.181.12.218/995] 失败:连接超时

我想问下我的fetchmail怎么总是出错,是不是我的设置有错?希望大虾们给指点迷途。
不胜感激
头像
xiooli
帖子: 6956
注册时间: 2007-11-19 21:51
来自: 成都
联系:

Re: .fetchmailrc配置问题请教

#2

帖子 xiooli » 2008-10-23 19:20

我的是这样的:
poll mail.xxx
proto POP3
port 995
user 'xxxx@xxx.xxx'
pass 'xxxx'
ssl
可以连上。
yxin007
帖子: 33
注册时间: 2008-07-19 13:43

Re: .fetchmailrc配置问题请教

#3

帖子 yxin007 » 2008-10-23 20:53

xiooli, 谢谢,但是我按你的改写后还是不行。是不是126的邮箱不可以?
头像
xiooli
帖子: 6956
注册时间: 2007-11-19 21:51
来自: 成都
联系:

Re: .fetchmailrc配置问题请教

#4

帖子 xiooli » 2008-10-23 21:39

yxin007 写了:xiooli, 谢谢,但是我按你的改写后还是不行。是不是126的邮箱不可以?
那就不知道了,我的是雅虎的邮箱,是可以的。我的conky就是用的fetchmail来监测邮箱的。
xyywll
帖子: 338
注册时间: 2008-05-24 1:24

Re: .fetchmailrc配置问题请教

#5

帖子 xyywll » 2009-10-31 15:40

poll mail.126.com
with proto POP3 <-- 不知道要不要去掉 with
user "yxin007@126.com"
there with password "我的邮箱密码" <---
is '系统上的一个用户名' here <--- 这2行直接改为 password "用你的密码替换这里的中文"
mda "/usr/bin/procmail -d %T" <--- 好像没必要
options
keep
ssl
sslcertck
sslcertpath /etc/ssl/certs/ <--- 这里有您自己得到的gmail的认证吗,没有的话看看这:http://blog.csdn.net/sgs5476/archive/20 ... 99691.aspx
如果努力的目的是为了超越他人,那么我们永远成功不了
大道是平的,我们该做的是让自己快乐,同时带给他人快乐
好好涵养自己的性格
才华是刀刃,辛苦是磨刀石
多食果蔬,健康长寿;少吃不吃鱼肉,珍爱它类生命,远离自身疾病
回复