Sendmail log (UNIX)

Module: System Mail

This check reports a problem when critical sendmail messages are not being logged. The check examines the sendmail log file defined in the syslog.conf file and verifies that the file is owned by root and that file permissons are valid.

The following table lists the error messages for the check.

Table: Error messages for Sendmail log

Message String ID and Category

Platform and Message Numeric ID

Message Title and Description

Additional Information

String ID: STKU_LOGNOTROOT

Category: System Information

UNIX (6037)

Title: Sendmail log file not owned by root

Description:The sendmail log file is not owned by root. This log file should be owned by root to prevent unauthorized access.

Severity: yellow-1

Correctable: false

Snapshot Updatable: false

Template Updatable: false

Information Field Format: [%s]

String ID: STKU_LOG_NOT_CONFIG

Category: System Information

UNIX (6038)

Title: Sendmail logging not configured

Description:Sendmail logging is not correctly configured on the agent system. To enable logging, the sendmail daemon must be started. Facilities and priorities must also be accurately identified in the syslog.conf file.

Severity: yellow-1

Correctable: false

Snapshot Updatable: false

Template Updatable: false

Information Field Format: [%s]

String ID: STKU_LOGPERMISSION

Category: System Information

UNIX (6039)

Title: Invalid sendmail log file permissions

Description:The sendmail log file permissions are invalid. Permissions should not include write and execute privileges for groups and others.

Severity: green-0

Correctable: false

Snapshot Updatable: false

Template Updatable: false

Information Field Format: [%s]

String ID: STKU_LOGNOTREGFILE

Category: System Information

UNIX (6040)

Title: Sendmail log file not regular file

Description:The sendmail log file is not a regular file (i.e., the file is a symbolic link or a directory).

Severity: green-0

Correctable: false

Snapshot Updatable: false

Template Updatable: false

Information Field Format: [%s]