add smtp fallback relay option
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Mauro Torrez 2022-08-07 04:14:05 -03:00
parent 41a092ae06
commit 96b8de2da2
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ dest = "/start.d/setup_relayhost"
mode = "0755" mode = "0755"
keys = [ keys = [
"/relayhost", "/relayhost",
"/smtp/fallback/relay",
"/smtp/sasl/auth/enable", "/smtp/sasl/auth/enable",
"/smtp/sasl/password/maps", "/smtp/sasl/password/maps",
"/smtp/sasl/security/options", "/smtp/sasl/security/options",

View File

@ -3,6 +3,7 @@
# These postfix settings allow for sending all mail through a relay host. # These postfix settings allow for sending all mail through a relay host.
{{ with getv "/relayhost" }}postconf relayhost='{{.}}'{{ end }} {{ 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/auth/enable" }}postconf smtp_sasl_auth_enable='{{.}}'{{ end }}
{{ with getv "/smtp/sasl/password/maps" }}postconf smtp_sasl_password_maps='{{.}}'{{ 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 }} {{ with getv "/smtp/sasl/security/options" }}postconf smtp_sasl_security_options='{{.}}'{{ end }}