0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

Update Postfix-Dovecot-Postgresql-Example.md

v v v v v vmail .....
This commit is contained in:
David Goodwin 2020-09-23 11:55:57 +01:00 committed by GitHub
parent 8658ed7083
commit 07805ec6c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -217,5 +217,5 @@ default_pass_scheme = MD5-CRYPT
password_query = SELECT username AS user,password FROM mailbox WHERE username = '%u' AND active='1'
# Query to retrieve user information, note uid matches dovecot.conf AND Postfix virtual_uid_maps parameter.
user_query = SELECT '/var/mail/mail/' || maildir AS home, 8 as uid, 8 as gid FROM mailbox WHERE username = '%u' AND active = '1'
user_query = SELECT '/var/mail/vmail/' || maildir AS home, 8 as uid, 8 as gid FROM mailbox WHERE username = '%u' AND active = '1'
```