帮忙看看这个mutt配置,谢谢

176 views
Skip to first unread message

Kermit Mei

unread,
Nov 8, 2009, 9:02:14 AM11/8/09
to SZLUG
Hello community!

记得前几天有朋友提到讲邮件,我在配制mutt的过程中正好遇到一些问题,请帮我
看看。
用mutt发邮件时,msmtp遇到了下面的问题,不知到是什么错误:

msmtp: authentication failed (method PLAIN)
msmtp: server message: 535-5.7.1 Username and Password not accepted.
Learn more
+at
msmtp: server message: 535 5.7.1
+http://mail.google.com/support/bin/answer.py?answer=14257
21sm1307810pzk.15
msmtp: could not send mail (account gmail from /home/kermit/.msmtprc)


#############################################################
我的msmtprc配置如下:
defaults
tls on
auth plain
account gmail
host smtp.gmail.com

from k...@gmail.com
port 587
user k.x
password 12345678

tls_starttls on
tls_trust_file /home/kermit/.Mail/certs/Thawte_Premium_Server_CA.pem
# tls_trust_file /home/kermit/.Mail/certs/Equifax_Secure_CA.pem

logfile ~/.Mail/.msmtp.log

不知是哪里出了问题?

还有就是上面关于数字证书是参考网页:
http://www.andrews-corner.org/mutt.html
上面的资源得到的,我只知道数字证书可以防止冒名邮件,但具体怎么弄,什么原
理还不是太清楚。

还有个问题,你们用mutt一般是使用fetchmail 还是 getmail? 两者有什么不同?


谢谢!
Kermit Mei


Fwolf

unread,
Nov 8, 2009, 9:44:39 AM11/8/09
to sz...@googlegroups.com
On Sun, Nov 08, 2009 at 10:02:14PM +0800, Kermit Mei wrote:
>
> Hello community!
>
> 记得前几天有朋友提到讲邮件,我在配制mutt的过程中正好遇到一些问题,请帮我
> 看看。
> 用mutt发邮件时,msmtp遇到了下面的问题,不知到是什么错误:
>
> msmtp: authentication failed (method PLAIN)
> msmtp: server message: 535-5.7.1 Username and Password not accepted.
> Learn more
> +at
> msmtp: server message: 535 5.7.1
> +http://mail.google.com/support/bin/answer.py?answer=14257
> 21sm1307810pzk.15
> msmtp: could not send mail (account gmail from /home/kermit/.msmtprc)
>
>
> #############################################################
> 我的msmtprc配置如下:
> defaults
> tls on
> auth plain
> account gmail
> host smtp.gmail.com
>
> from k...@gmail.com
> port 587
> user k.x


user k...@gmail.com

必须使用全邮件地址。

> password 12345678
>
> tls_starttls on
> tls_trust_file /home/kermit/.Mail/certs/Thawte_Premium_Server_CA.pem
> # tls_trust_file /home/kermit/.Mail/certs/Equifax_Secure_CA.pem
>
> logfile ~/.Mail/.msmtp.log
>
> 不知是哪里出了问题?
>
> 还有就是上面关于数字证书是参考网页:
> http://www.andrews-corner.org/mutt.html
> 上面的资源得到的,我只知道数字证书可以防止冒名邮件,但具体怎么弄,什么原
> 理还不是太清楚。
>
> 还有个问题,你们用mutt一般是使用fetchmail 还是 getmail? 两者有什么不同?
>
>
> 谢谢!
> Kermit Mei
>
>

--
http://www.fwolf.com/
"I understand this is your first dead client," Sabian was saying. The
absurdity of the statement made me want to laugh but they don't call me
Deadpan Allie and lie.
-- Pat Cadigan, "Mindplayers"

signature.asc

李峰

unread,
Nov 8, 2009, 9:59:24 AM11/8/09
to sz...@googlegroups.com
不知道有没有用:
http://www.lutuzhi.com/howto/319.html


http://pyropus.ca/software/getmail/faq.html#faq-about-why


On Sun, Nov 08, 2009 at 10:02:14PM +0800, Kermit Mei wrote:
>

Kermit Mei

unread,
Nov 8, 2009, 10:00:08 AM11/8/09
to sz...@googlegroups.com

我试过了,也不行。开始用的全邮件地址,后来不行我就改了。 用全邮件地址,
错误如下:

msmtp: authentication failed (method PLAIN)
msmtp: server message: 535-5.7.1 Username and Password not accepted.
Learn more
+at
msmtp: server message: 535 5.7.1
+http://mail.google.com/support/bin/answer.py?answer=14257

23sm1391976pxi.1


msmtp: could not send mail (account gmail from /home/kermit/.msmtprc)


<snip>

Kermit Mei

unread,
Nov 8, 2009, 10:10:58 AM11/8/09
to sz...@googlegroups.com
On Sun, 2009-11-08 at 22:59 +0800, 李峰 wrote:
> 不知道有没有用:
> http://www.lutuzhi.com/howto/319.html
>
>
> http://pyropus.ca/software/getmail/faq.html#faq-about-why

不好意思,没看明白……
Thanks all the same:)

Kermit Mei


李峰

unread,
Nov 8, 2009, 10:37:43 AM11/8/09
to sz...@googlegroups.com
我的意思是:我没发现你的配置文件有什么问题,猜想可能是输错密码次数过多,或者是长时间没有登录。你可以像http://www.lutuzhi.com/howto/319.html说的一样,通过网页登录几次。如果真的出现验证码,那就是同一个问题了。


http://pyropus.ca/software/getmail/faq.html#faq-about-why 是getmail的作者写的为什么不用fetchmail,而要getmail。

Kermit Mei

unread,
Nov 8, 2009, 10:45:56 AM11/8/09
to sz...@googlegroups.com
On Sun, 2009-11-08 at 23:37 +0800, 李峰 wrote:
> 我的意思是:我没发现你的配置文件有什么问题,猜想可能是输错密码次数过多,或者是长时间没有登录。你可以像http://www.lutuzhi.com/howto/319.html说的一样,通过网页登录几次。如果真的出现验证码,那就是同一个问题了。
不是这个问题,可以登录的……
>
> http://pyropus.ca/software/getmail/faq.html#faq-about-why 是getmail的作者写的为什么不用fetchmail,而要getmail。
这个明白了,谢谢!

刚开始只是在英文里找配置文件了,又是getmail,所以没有仔细看,抱歉!

Thanks
Kermit Mei

Fwolf

unread,
Nov 8, 2009, 7:55:53 PM11/8/09
to sz...@googlegroups.com

这个提示里说的很详细:
http://mail.google.com/support/bin/answer.py?answer=14257
1、登录用全邮件地址
2、web登录检查账号状态(必须输入验证码等等)

>
>
> <snip>
>

--
http://www.fwolf.com/
O, it is excellent
To have a giant's strength; but it is tyrannous
To use it like a giant.
-- Shakespeare, "Measure for Measure", II, 2

signature.asc
Reply all
Reply to author
Forward
0 new messages