2022-10-23 474
Nagios监控的说:Sendmail无法发送mail邮件了,你怎么办,想哪出了错了,其实很简单就解决了,请看下文。
nagios 监控无法发送mail邮件。发现是文件权限问题
You should first check the permissions on the following files:
# ls -l /usr/sbin/sendmail.sendmail
-r-xr-sr-x root smmsp /usr/sbin/sendmail.sendmail
# ls -l /var/spool
drwxrwx— smmsp smmsp /var/spool/clientmqueue
If your permissions are mis-matched, you can modify them by doing the following:
# chown root.smmsp /usr/sbin/sendmail.sendmail
# chmod g+s /usr/sbin/sendmail.sendmail
# chown smmsp.smmsp /var/spool/clientmqueue
After changing permissions, you need to restart the Sendmail service, type:
# service sendmail restart
大家能看懂吧,其实Sendmail无法发送mail邮件问题很好解决,希望文章对你们有用!
原文链接:https://77isp.com/post/8969.html
=========================================
https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。
数据库技术 2022-03-28
网站技术 2022-11-26
网站技术 2023-01-07
网站技术 2022-11-17
Windows相关 2022-02-23
网站技术 2023-01-14
Windows相关 2022-02-16
Windows相关 2022-02-16
Linux相关 2022-02-27
数据库技术 2022-02-20
抠敌 2023年10月23日
嚼餐 2023年10月23日
男忌 2023年10月22日
瓮仆 2023年10月22日
簿偌 2023年10月22日
扫码二维码
获取最新动态