Howto masquerade Postfix on SMTP session?

Shirker asked:

for security reason (and for other reasons too) I want to hide “Postfix” from SMTP response


[[email protected] ~]# telnet 25
    Connected to
    Escape character is '^]'.
    220 ESMTP Postfix

I need the answer to be only:


Is this possible?

My answer:

Change smtpd_banner. Note that per protocol, $myhostname must be the first argument.

smtpd_banner = $myhostname ESMTP random mail server bent over and ready.

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.