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.

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-218546r603259_rule, STIG-ID|GEN004580, STIG-Legacy|SV-62713, STIG-Legacy|V-4385, Vuln-ID|V-218546

Plugin: Unix

Control ID: 3f2aa172d37aa91cfbdf7b431d7c78fc9167b7c8f3d77ea53a591883ad348e4a