How to change Postfix SMTP banner

Created:

2017-06-13 21:24:51 UTC

Modified:

2017-08-16 15:51:15 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to change Postfix SMTP banner

Applicable to:

  • Plesk for Linux

Question

How to change SMTP banner in Postfix

Answer

In a postfix, by default, SMTP banner set as follow:

myhostname = domain.tld
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)

SMTP banner can be changed either via modifying myhostname or smtpd_banner variables definition.

# postconf "myhostname = domain.tld"

OR

# postconf "smtpd_banner = domain.tld ESMTP" 
Have more questions? Submit a request
Please sign in to leave a comment.