"static" userdb for vimbadmin
This commit is contained in:
parent
c72f985f64
commit
dcf16d21b4
|
@ -6,3 +6,10 @@ password_query = \
|
||||||
homedir AS userdb_home, uid AS userdb_uid, gid AS userdb_gid \
|
homedir AS userdb_home, uid AS userdb_uid, gid AS userdb_gid \
|
||||||
FROM mailbox WHERE username = '%u'
|
FROM mailbox WHERE username = '%u'
|
||||||
iterate_query = SELECT username AS user FROM mailbox
|
iterate_query = SELECT username AS user FROM mailbox
|
||||||
|
|
||||||
|
user_query = \
|
||||||
|
SELECT 'maildir:~/Maildir' as mail, '{{vars.dovecot_vimbadmin_sql.dovecot_cfg.vmail_dir}}/%d/%n' as home, 1003 as gid, 1003 as uid FROM mailbox WHERE username = '%u'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue