Alwanza Home Extraordin-Air Team Final Project Linux Course Home
Statement of Problem:

Modify the connection message that Sendmail displays when connecting over the network.  This can checked by connecting (using telnet) to port 25.  Provide a very innocuous message that provides no information to potential hackers.

Investagative Process:

To be honest, I was unable to recall how I figured out how to modify this message, and was unable to retrace my steps.  I wound up having to telnet to Sendmail, see what message was displayed, and then search for that string in the /etc/sendmail.cf file! (sad).

Recipe:

The relevant file is, not surprisingly, /etc/sendmail.cf. There is a variable about a quarter of the way through the file named "SmtpGreetingMessage".  The default uses variables replaced by actual version information.  I commented this out and created my own line in its place with something silly and uninformative.