Add option always_add_missing_headers (#32)
(adding From:, To:, Date: or Message-ID: headers when not present, cf. http://www.postfix.org/postconf.5.html#always_add_missing_headers) This option always_add_missing_headers is set by the environment variable ALWAYS_ADD_MISSING_HEADERS (default: no)
This commit is contained in:
committed by
GitHub
parent
d0bd8bae59
commit
e0d3ab0af7
1
run.sh
1
run.sh
@@ -36,6 +36,7 @@ add_config_value "smtp_use_tls" "yes"
|
||||
add_config_value "smtp_sasl_auth_enable" "yes"
|
||||
add_config_value "smtp_sasl_password_maps" "hash:/etc/postfix/sasl_passwd"
|
||||
add_config_value "smtp_sasl_security_options" "noanonymous"
|
||||
add_config_value "always_add_missing_headers" "${ALWAYS_ADD_MISSING_HEADERS:-no}"
|
||||
|
||||
# Create sasl_passwd file with auth credentials
|
||||
if [ ! -f /etc/postfix/sasl_passwd ]; then
|
||||
|
||||
Reference in New Issue
Block a user