shell发送邮件mutt

前端之家收集整理的这篇文章主要介绍了shell发送邮件mutt前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
apt-get install mutt msmtp
cd /root
vim .msmtprc

host smtp.xxxx.com
port 25
from xxx@163.com
auth login
tls off
user xxx@163.com
password xxx
logfile /var/log/msmtp.log

vim .muttrc 
set sendmail="/usr/bin/msmtp"
set use_from=yes
set realname="xxxname"
set from="xxxx@163.com"
set envelope_from=yes
set rfc2047_parameters=yes
set charset="utf-8
原文链接:https://www.f2er.com/bash/389157.html

猜你在找的Bash相关文章