add variable for smtpd_banner
This commit is contained in:
parent
1392fb7432
commit
b3d0d49470
|
@ -3,3 +3,9 @@ postfix_relay_sasl_host: smtp.gmail.com
|
||||||
postfix_relay_sasl_user: user
|
postfix_relay_sasl_user: user
|
||||||
postfix_relay_sasl_domain: gmail.com
|
postfix_relay_sasl_domain: gmail.com
|
||||||
postfix_relay_sasl_passwd: secure
|
postfix_relay_sasl_passwd: secure
|
||||||
|
|
||||||
|
# smtpd_banner contains $myhostname by default and
|
||||||
|
# can't be removed
|
||||||
|
postfix_relay_smtpd_banner:
|
||||||
|
- ESMTP
|
||||||
|
- $mail_name
|
||||||
|
|
|
@ -580,7 +580,7 @@ alias_database = hash:/etc/aliases
|
||||||
# You MUST specify $myhostname at the start of the text. That is an
|
# You MUST specify $myhostname at the start of the text. That is an
|
||||||
# RFC requirement. Postfix itself does not care.
|
# RFC requirement. Postfix itself does not care.
|
||||||
#
|
#
|
||||||
#smtpd_banner = $myhostname ESMTP $mail_name
|
smtpd_banner = {{ (['$myhostname'] + postfix_relay_smtpd_banner) | join(' ') }}
|
||||||
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
|
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
|
||||||
|
|
||||||
# PARALLEL DELIVERY TO THE SAME DESTINATION
|
# PARALLEL DELIVERY TO THE SAME DESTINATION
|
||||||
|
|
Loading…
Reference in New Issue
Block a user