Nagios Sendmail无法发送mail邮件的解决方法

运维 系统运维
Nagios 是一个在linux及unix环境下运行的监控系统和网络的应用程序,它监控您所指定的主机和服务,并在情况变得更糟或更好时提醒您注意。带大家看看Nagios Sendmail无法发送mail邮件的是什么问题以及解决方法。

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邮件问题很好解决,希望文章对你们有用!

【编辑推荐】

责任编辑:赵鹏 来源: 网络转载
相关推荐

2009-12-02 16:53:25

PHP发送邮件乱码

2009-12-09 15:23:36

PHP mail()函

2011-02-21 15:45:26

Sendmail启动慢原因

2009-11-26 15:42:18

PHP函数mail()

2009-12-02 10:08:33

PHP mail()函

2011-01-19 15:40:32

Kmail

2009-12-02 18:16:35

PHP mail发送邮

2011-01-21 16:27:43

NagiosSendmail

2011-01-21 13:41:09

Sendmail

2011-01-21 13:56:44

SendmailSolaris

2011-01-21 09:49:18

sendmail目录

2011-03-23 12:55:55

Nagios邮件

2011-01-19 15:31:46

Kmail

2011-08-22 15:50:05

Linuxmailsendmail

2011-11-04 10:22:43

Java Mail

2010-08-23 14:10:16

exchange 20删除用户

2017-03-02 09:05:56

CentOS 7Sendmail邮件

2011-01-21 13:21:21

sendmail安全

2010-10-20 17:21:07

连接SQL Serve

2009-01-13 09:31:00

网关Ping通故障网络
点赞
收藏

51CTO技术栈公众号