Solution for Nagios Sendmail failure to send mail

Source: Internet
Author: User

NagiosMonitoring description:SendmailThe mail cannot be sent. What should you do? If something is wrong, it is actually easy to solve. Please refer to the following.

Nagios monitoring cannot send mail. File Permission issues found

You shoshould 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/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

You can understand it. In fact, Sendmail cannot send mail, which is a good solution. I hope this article will be useful to you!

  • Six Important Notes of Nagios monitoring Windows 2003 Server
  • 12.10 Nagios monitoring policy
  • 12.6 other Nagios monitoring servers
  • 12.3.6 start the Nagios Service
  • Nagios practices: Nagios skills you should know
  • System Upgrade record during period 11: enterprise-level monitoring system Nagios
  • Introduction to Sendmail
  • Illustration: Sendmail Working Environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.