You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
551 B
12 lines
551 B
driver = mysql
|
|
connect = host={{host}} user=vimbadmin password={{password}} dbname=vimbadmin
|
|
default_pass_scheme = MD5
|
|
password_query = SELECT username as user, password as password, \
|
|
homedir AS home, maildir AS mail, \
|
|
concat('*:bytes=', quota) as quota_rule, uid, gid \
|
|
FROM mailbox \
|
|
WHERE username = '%Lu' AND active = '1' \
|
|
AND ( access_restriction = 'ALL' OR LOCATE( access_restriction, '%Us' ) > 0 )
|
|
user_query = SELECT homedir AS home, maildir AS mail, \
|
|
concat('*:bytes=', quota) as quota_rule, uid, gid \
|
|
FROM mailbox WHERE username = '%u'
|
|
|