Am 01.04.26 um 12:24 schrieb Timo Sirainen:
That's very strange. It's not even supposed to be possible to
configure Dovecot in a way that it writes to these files as root.
If you look at your logs, can you see what process wrote these
files at the time? imap, lmtp? Also what's your full doveconf -n
output?
Seems you looked up my posting of the config from yesterday?
great
Looking at your earlier mail, I see there is quota-status service,
which apparently can run as root in some situations. So it's
possibly somehow related to that, although I'm still not sure how
that can happen.
Oh, didn't expect to create something that special ;-)
Also does the problem go away if you simplify your config to:
mail_uid = 1001 mail_gid = 1001
passdb_sql_query = SELECT username as user, password FROM mailbox
WHERE username = '%{user}' AND active = '1' userdb_sql_query =
SELECT username as user FROM mailbox WHERE username = '%{user}' AND
active = '1'
Will try, but I am cautious: wouldn't I need userdb_home and userdb_mail
also in my query?
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]