安装服务:
yum
-
y install sendmail mailx libreport
-
plugin
-
mailx sharutils mutt
启动服务
systemctl start sendmail
配置邮箱服务器:
vim /etc/mail.rc
测试发送: mail -s "theme" 8392********@qq.com < check_host.sh
centos7 mailx 发送邮件配置
阅读 61
2022-11-25
安装服务:
yum
-
y install sendmail mailx libreport
-
plugin
-
mailx sharutils mutt
启动服务
systemctl start sendmail
配置邮箱服务器:
vim /etc/mail.rc
测试发送: mail -s "theme" 8392********@qq.com < check_host.sh
相关推荐
精彩评论(0)