tmpl: zero indexing
This commit is contained in:
parent
25fa394b99
commit
b500a00528
@ -1,5 +1,5 @@
|
|||||||
auth_realms = {{ getv "/mail/domains" }}
|
auth_realms = {{ getv "/mail/domains" }}
|
||||||
auth_default_realm = {{ index (split (getv "/mail/domains") " ") 1 }}
|
auth_default_realm = {{ index (split (getv "/mail/domains") " ") 0 }}
|
||||||
auth_username_format = {{ getv "/auth/username/format" }}
|
auth_username_format = {{ getv "/auth/username/format" }}
|
||||||
auth_mechanisms = {{ getv "/auth/mechanisms" }}
|
auth_mechanisms = {{ getv "/auth/mechanisms" }}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
protocol lmtp {
|
protocol lmtp {
|
||||||
# postmaster_address aparentemente es obligatorio
|
# postmaster_address aparentemente es obligatorio
|
||||||
postmaster_address = postmaster@{{ index (split (getv "/mail/domains") " ") 1 }}
|
postmaster_address = postmaster@{{ index (split (getv "/mail/domains") " ") 0 }}
|
||||||
mail_plugins = $mail_plugins sieve
|
mail_plugins = $mail_plugins sieve
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user