Rule ID
SV-45863r2_rule
Version
V1R12
CCIs
The HELP command should be disabled to mask version information. The version of the SMTP service software could be used by attackers to target vulnerabilities present in specific software versions.
Check if the sendmail package is installed: # rpm –q sendmail If sendmail is not installed, this check is not applicable. Check if Help is disabled. This rule is for “sendmail” only and not applicable to “Postfix”. Procedure: # telnet <host> 25 > help If the help command returns any sendmail version information, this is a finding.
To disable the SMTP HELP command, remove, rename or empty the /usr/lib/sendmail.d.helpfile file. # echo > /usr/lib/sendmail.d/helpfile