diff --git a/confd/conf.d/setup_relayhost.toml b/confd/conf.d/setup_relayhost.toml index ae97d06..1aeb64a 100644 --- a/confd/conf.d/setup_relayhost.toml +++ b/confd/conf.d/setup_relayhost.toml @@ -4,6 +4,7 @@ dest = "/start.d/setup_relayhost" mode = "0755" keys = [ "/relayhost", +"/smtp/fallback/relay", "/smtp/sasl/auth/enable", "/smtp/sasl/password/maps", "/smtp/sasl/security/options", diff --git a/confd/templates/setup_relayhost.tmpl b/confd/templates/setup_relayhost.tmpl index df89e11..b3a025b 100644 --- a/confd/templates/setup_relayhost.tmpl +++ b/confd/templates/setup_relayhost.tmpl @@ -3,6 +3,7 @@ # These postfix settings allow for sending all mail through a relay host. {{ with getv "/relayhost" }}postconf relayhost='{{.}}'{{ end }} +{{ with getv "/smtp/fallback/relay" }}postconf smtp_fallback_relay='{{.}}'{{ end }} {{ with getv "/smtp/sasl/auth/enable" }}postconf smtp_sasl_auth_enable='{{.}}'{{ end }} {{ with getv "/smtp/sasl/password/maps" }}postconf smtp_sasl_password_maps='{{.}}'{{ end }} {{ with getv "/smtp/sasl/security/options" }}postconf smtp_sasl_security_options='{{.}}'{{ end }}