SV-220100r603266_rule
V-220100
SRG-OS-000480
GEN004560
CAT III
10
Ensure Sendmail or its equivalent has been configured to mask the version information. If necessary, change the O SmtpGreetingMessage line in the /etc/mail/sendmail.cf file as noted below.
O SmtpGreetingMessage=$j Sendmail $v/$Z; $b
Change it to:
O SmtpGreetingMessage= Mail Server Ready ; $b
Check for the Sendmail version being displayed in the greeting.
# telnet localhost 25
If a version number is displayed, this is a finding.
If telnet is unavailable for testing, check the value of the SmtpGreetingMessage parameter in the sendmail.cf file.
# grep SmtpGreetingMessage /etc/mail/sendmail.cf
If the value of the SmtpGreetingMessage parameter contains the $v or $Z macros, this is a finding.
V-220100
False
GEN004560
Check for the Sendmail version being displayed in the greeting.
# telnet localhost 25
If a version number is displayed, this is a finding.
If telnet is unavailable for testing, check the value of the SmtpGreetingMessage parameter in the sendmail.cf file.
# grep SmtpGreetingMessage /etc/mail/sendmail.cf
If the value of the SmtpGreetingMessage parameter contains the $v or $Z macros, this is a finding.
M
4061