centos7 mailx 發送郵件配置

安裝服務: 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
相關文章
相關標籤/搜索