nagios无法使用sendmail发送邮件的解决方法
思韵闪耀
2013-03-18
0
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邮件问题很好解决,希望文章对你们有用!


【版权声明】
本站部分内容来源于互联网,本站不拥有所有权,不承担相关法律责任。如果发现本站有侵权的内容,欢迎发送邮件至masing@13sy.com 举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。

相关内容

热门资讯

Discus X论坛配置sen... Discuz x2.5 后台邮件设置方法其实和X2/x1.5基本一样,但很多同学都不注意一些细节,比...
redhat Linux系统配... 1 .检查Send Mail 的安装包 [root@sql root]# rpm -qa | gre...
使用Sendmail的反垃圾邮... 在最近几年,无处不在的垃圾邮件已使得所有邮件箱不堪重负,不断地需要工具以抗击这一无穷尽的垃圾邮件流。...