0
点赞
收藏
分享

微信扫一扫

centos7 mailx 发送邮件配置


安装服务:

​yum ​​​​-​​​​y install sendmail mailx libreport​​​​-​​​​plugin​​​​-​​​​mailx sharutils mutt​

​启动服务​

​systemctl start sendmail​

配置邮箱服务器:

vim /etc/mail.rc

centos7 mailx 发送邮件配置_vim

 

测试发送:  mail -s  "theme" 8392********@qq.com < check_host.sh

 

 

举报

相关推荐

0 条评论