Includes uid nad gid for vmail user from dovecot_cfg
This commit is contained in:
parent
0589fb8997
commit
bef3642f49
|
@ -8,7 +8,7 @@ password_query = \
|
||||||
iterate_query = SELECT username AS user FROM mailbox
|
iterate_query = SELECT username AS user FROM mailbox
|
||||||
|
|
||||||
user_query = \
|
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'
|
SELECT 'maildir:~/Maildir' as mail, '{{vars.dovecot_vimbadmin_sql.dovecot_cfg.vmail_dir}}/%d/%n' as home, {{vars.dovecot_vimbadmin_sql.dovecot_cfg.vmail_uid}} as gid, {{vars.dovecot_vimbadmin_sql.dovecot_cfg.vmail_gid}} as uid FROM mailbox WHERE username = '%u'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue