Linux中sh脚本发邮件配置
在 ssh 中执行,写入配置文件 sudo yum -y install mailx cat >>/etc/mail.rc <<EOF set fromsupportlllomh.com set smtpsmtp.qq.com set smtp-auth-usersupportlllomh.com set smtp-auth-passwordtest1234567 set smtp-authlogin EOF 里面的 smtp 地址换成自己…
2025-05-10