> 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