dovecot templating - split by whitespace and comma
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 2020-02-04 02:51:50 -03:00
parent 05039c776a
commit b2761b55a6

View File

@ -1,5 +1,5 @@
auth_realms = {{ getv "/mail/domains" }} auth_realms = {{ getv "/mail/domains" }}
auth_default_realm = {{ index (split (getv "/mail/domains") " ") 0 }} auth_default_realm = {{ index (split (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" }}