TLS connection closed unexpectedly

dovecot at ptld.com dovecot at ptld.com
Sat Jan 8 01:12:59 UTC 2022


> 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


More information about the dovecot mailing list