求助:msmtp无法连接gmail

为当前最终发行版之前的所有版本提供支持
回复
Brandon_Lu
帖子: 4
注册时间: 2011-04-04 2:43
送出感谢: 0
接收感谢: 0

求助:msmtp无法连接gmail

#1

帖子 Brandon_Lu » 2011-04-04 2:51

ubuntu10.10系统下,想用Mutt管理邮件,但是始终无法配置上msmtp,一直报告连接超时

brandon@brandon-Rev-1-0:~$ msmtp -t
to:lubaixun@gmail.com
subject:499
sadfas
msmtp: cannot connect to smtp.gmail.com, port 587: Connection timed out
msmtp: could not send mail (account default from /home/brandon/.msmtprc)

msmtp版本如下
msmtp --version
msmtp version 1.4.0
TLS/SSL library: OpenSSL
Authentication library: GNU SASL
Supported authentication methods:
plain cram-md5 digest-md5 gssapi external login ntlm
System configuration file name: /usr/local/etc/msmtprc
User configuration file name: /home/brandon/.msmtprc

.msmtprc内容如下
cat .msmtprc
defaults
logfile ~/.msmtp.log
# gmail account
account default
host smtp.gmail.com
from xxxx@gmail.com
tls on
auth on
port 587
user xxxx@gmail.com
password xxxx
#tls_starttls on
tls_trust_file /etc/ssl/certs/ca-certificates.crt

求各位大侠帮忙啦
Brandon_Lu
帖子: 4
注册时间: 2011-04-04 2:43
送出感谢: 0
接收感谢: 0

Re: 求助:msmtp无法连接gmail

#2

帖子 Brandon_Lu » 2011-04-05 6:01

自己顶一下
回复

回到 “老旧版本支持”