wmdeit-cf-wmdelib/templates/dovecot/vimbadmin-sql.conf.mustache

9 lines
466 B
Plaintext
Raw Normal View History

2023-10-11 21:59:48 +00:00
default_pass_scheme = CRYPT
driver = mysql
connect = host={{vars.dovecot_vimbadmin_sql.cfg.db_host}} dbname={{vars.dovecot_vimbadmin_sql.cfg.db_name}} user={{vars.dovecot_vimbadmin_sql.cfg.db_user}} password={{vars.dovecot_vimbadmin_sql.cfg.db_pass}}
password_query = \
SELECT username AS user, password, \
homedir AS userdb_home, uid AS userdb_uid, gid AS userdb_gid \
FROM mailbox WHERE username = '%u'
iterate_query = SELECT username AS user FROM mailbox