liunx邮箱发送给
编辑 vim /etc/mail.rc
set from=邮箱
set smtp=smtp.qq.com
set smtp-auth-user=邮箱
set smtp-auth-password=授权密码
echo test keeplived | mail -s keeplaived 接收邮箱
编辑 vim /etc/mail.rc
set from=邮箱
set smtp=smtp.qq.com
set smtp-auth-user=邮箱
set smtp-auth-password=授权密码
echo test keeplived | mail -s keeplaived 接收邮箱