Rule ID
SV-45858r1_rule
Version
V1R12
CCIs
If informational and more severe SMTP service messages are not logged, malicious activity on the system may go unnoticed.
Check the syslog configuration file for mail.crit logging configuration.
Procedure:
# grep "mail\." /etc/rsyslog.conf
If syslog is not configured to log critical sendmail messages ("mail.crit" or "mail.*"), this is a finding.Edit the syslog configuration file and add a configuration line specifying an appropriate destination for "mail.crit" syslogs. For example: mail.* -/var/log/mail;RSYSLOG_TraditionalFileFormat