2020-11-07 21:31:47 +00:00
|
|
|
connect = host=localhost dbname=${dbname} user=${dbuser} password=${dbpass}
|
|
|
|
driver = pgsql
|
|
|
|
default_pass_scheme = MD5-CRYPT
|
|
|
|
password_query = SELECT username as user, password FROM mailbox WHERE username = '%u' AND active = true
|
2020-11-08 12:00:44 +00:00
|
|
|
user_query = SELECT '/var/mail/vmail/' || maildir as home, 65534 as uid, 65534 as gid FROM mailbox WHERE username = '%u' AND active = true
|