8 Jan
2022
8 Jan
'22
3:12 a.m.
user_query = SELECT maildir, 2000 AS uid, 2000 AS gid FROM mailbox WHERE username = '%u' AND active='1'
If you are using a static uid/gid it is not needed to have it include it in queries. You can set them in the config with:
mail_uid = 2000 mail_gid = 2000
And then shorten the query to:
user_query = SELECT maildir FROM mailbox WHERE username = '%u' AND active