SV-99199r1_rule
V-88549
SRG-OS-000096-GPOS-00050
VROM-SL-000600
CAT II
10
Disable forwarding for sendmail and remove ".forward" files from the system:
Remove all ".forward" files on the system.
# find / -name .forward -delete
Use the following command to disable forwarding:
# sed -i "s/O ForwardPath/#O ForwardPath/" /etc/sendmail.cf
Restart the sendmail service:
# service sendmail restart
Check forwarding from sendmail:
# grep "0 ForwardPath" /etc/sendmail.cf
If the entry contains a file path and is not commented out, this is a finding.
V-88549
False
VROM-SL-000600
Check forwarding from sendmail:
# grep "0 ForwardPath" /etc/sendmail.cf
If the entry contains a file path and is not commented out, this is a finding.
M
3461