Sendmail logging must not be set to less than nine in the sendmail.cf file.

From SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide

Part of GEN004440

Associated with: CCI-000366

SV-45856r2_rule Sendmail logging must not be set to less than nine in the sendmail.cf file.

Vulnerability discussion

If Sendmail is not configured to log at level 9, system logs may not contain the information necessary for tracking unauthorized use of the sendmail service.

Check content

If the “sendmail” package is not installed, this is not applicable. Check if the sendmail package is installed: # rpm –q sendmail If it is installed, the logging level must be set to level nine: Procedure: for sendmail: # grep "O L" /etc/mail/sendmail.cf OR # grep LogLevel /etc/mail/sendmail.cf If logging is set to less than nine, this is a finding. for Postfix: This rule is not applicable to postfix which does not use "log levels" in the same fashion as sendmail.

Fix text

Edit the sendmail.conf file, locate the "O L" or "LogLevel" entry and change it to 9.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer