Fortinet black logo

User Guide

Sendmail

24.1.0
Copy Link
Copy Doc ID af1daa65-c273-11ec-9fd1-fa163e15d75b:40279
Download PDF

Sendmail

The Sendmail plugin allows you to monitor the queue depth of your Sendmail MTA server.

Control Panel Configuration

Select the Sendmail plugin from the monitoring catalog. To add this resource, please see Add FortiMonitor Agent checks.

Metric

Unit

Sendmail queue depth

messages

Additional permissions

Additional file system permissions may be needed if you are encountering problems when collecting data from Sendmail metrics. Resolve this issue by granting permission to the fm-agent user to run Sendmail -bp.

  1. Run the following command as root to edit /etc/sudoers.

visudo /etc/sudoers

2. Add the following line:

fm-agent ALL=NOPASSWD:/usr/sbin/sendmail

3. Save and exit the file.

4. Running the Sendmail command may also require sudo privileges. To configure the command to use sudo, open /etc/fm-agent/fm_agent.cfg then add the following:

[sendmail]
use_sudo = 1

Sendmail

The Sendmail plugin allows you to monitor the queue depth of your Sendmail MTA server.

Control Panel Configuration

Select the Sendmail plugin from the monitoring catalog. To add this resource, please see Add FortiMonitor Agent checks.

Metric

Unit

Sendmail queue depth

messages

Additional permissions

Additional file system permissions may be needed if you are encountering problems when collecting data from Sendmail metrics. Resolve this issue by granting permission to the fm-agent user to run Sendmail -bp.

  1. Run the following command as root to edit /etc/sudoers.

visudo /etc/sudoers

2. Add the following line:

fm-agent ALL=NOPASSWD:/usr/sbin/sendmail

3. Save and exit the file.

4. Running the Sendmail command may also require sudo privileges. To configure the command to use sudo, open /etc/fm-agent/fm_agent.cfg then add the following:

[sendmail]
use_sudo = 1