SV-99189r1_rule
V-88539
SRG-OS-000096-GPOS-00050
VROM-SL-000575
CAT II
10
Edit the "/etc/syslog-ng/syslog-ng.conf" file and add the following log entries:
filter f_mailinfo { level(info) and facility(mail); };
filter f_mailwarn { level(warn) and facility(mail); };
filter f_mailerr { level(err, crit) and facility(mail); };
filter f_mail { facility(mail); };
destination mailinfo { file("/var/log/mail.info"); };
log { source(src); filter(f_mailinfo); destination(mailinfo); };
destination mailwarn { file("/var/log/mail.warn"); };
log { source(src); filter(f_mailwarn); destination(mailwarn); };
destination mailerr { file("/var/log/mail.err" fsync(yes)); };
log { source(src); filter(f_mailerr); destination(mailerr); };
Check the "/etc/syslog-ng/syslog-ng.conf" file for the following log entries:
filter f_mailinfo { level(info) and facility(mail); };
filter f_mailwarn { level(warn) and facility(mail); };
filter f_mailerr { level(err, crit) and facility(mail); };
filter f_mail { facility(mail); };
If any of the above log entries are present, this is not a finding.
V-88539
False
VROM-SL-000575
Check the "/etc/syslog-ng/syslog-ng.conf" file for the following log entries:
filter f_mailinfo { level(info) and facility(mail); };
filter f_mailwarn { level(warn) and facility(mail); };
filter f_mailerr { level(err, crit) and facility(mail); };
filter f_mail { facility(mail); };
If any of the above log entries are present, this is not a finding.
M
3461