1

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

now:

[root@mail ~]# telnet 127.0.0.1 25
    Trying 127.0.0.1...
    Connected to 127.0.0.1.
    Escape character is '^]'.
    220 mail.example.biz ESMTP Postfix

I need the answer to be only:

220 mail.example.biz ESMTP

Is this possible?

1 Answer 1

2

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .