GEN004580 - The system must not use .forward files - 'find .forward'

Information

The .forward file allows users to automatically forward mail to another system. Use of .forward files could allow the unauthorized forwarding of mail and could potentially create mail loops which could degrade system performance.

Solution

Disable forwarding for sendmail and remove .forward files from the system

Procedure:
Edit the /etc/mail/sendmail.mc file to change the ForwardPath entry to a null path by adding the line
define('confFORWARD_PATH','')
rebuild the sendmail.cf file.
If the /etc/mail/sendmail.mc file does not exist, the sendmail.cf file should be updated directly.

Remove all .forward files on the system
# find / -name .forward -delete

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Group-ID|V-4385, Rule-ID|SV-37506r3_rule, STIG-ID|GEN004580, Vuln-ID|V-4385

Plugin: Unix

Control ID: c8f149ac978ae2f22de57ea25f77dfc3b5d77410f6ffffc6fc4c32cac6d70dc2