2008年1月31日星期四

mutt 使用 msmtp 发送电子邮件的典型配置

$ cat .msmtprc
defaults
auto_from off
from testuser@gmail.com
tls_certcheck off
logfile ~/.msmtplog

account gmail
host smtp.gmail.com
tls on
auth on
port 587
user testuser
password xxxxxxxx

account default: gmail

$ cat .muttrc
charset-hook !utf-8 gb18030

set sendmail="/usr/local/bin/msmtp -d"
set realname="Real Name"
set from="testuser@gmail.com"
set use_from=yes

没有评论: