SV-100317r1_rule
V-89667
SRG-OS-000096-GPOS-00050
VRAU-SL-000620
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 if 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-89667
False
VRAU-SL-000620
Check if 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
3459