9 lines
466 B
Plaintext
9 lines
466 B
Plaintext
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
|