fix go templates

This commit is contained in:
Mauro Torrez 2019-09-10 01:04:56 -03:00
parent e6afdff4c8
commit 25fa394b99
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
auth_realms = {{ getv "/mail/domains" }}
auth_default_realm = {{ first 1 (split (getv "/mail/domains") " ") }}
auth_default_realm = {{ index (split (getv "/mail/domains") " ") 1 }}
auth_username_format = {{ getv "/auth/username/format" }}
auth_mechanisms = {{ getv "/auth/mechanisms" }}

View File

@ -1,5 +1,5 @@
protocol lmtp {
# postmaster_address aparentemente es obligatorio
postmaster_address = postmaster@{{ first 1 (split (getv "/mail/domains") " ") }}
postmaster_address = postmaster@{{ index (split (getv "/mail/domains") " ") 1 }}
mail_plugins = $mail_plugins sieve
}