Re: dovecot.list.index.log owned by root: why?

Timo Sirainen via dovecot <[email protected]> Wed, 1 Apr 2026 13:17:08 +0300
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
On 1. Apr 2026, at 12.57, Stefan G. Weichinger via dovecot <[email protected]> wrote:
> ls -l /home/vmail/xunil.at/[email protected]/
> total 944
> drwx------ 2 vmail vmail 622592 Apr  1 11:43 cur
> -rw------- 1 vmail vmail      0 Jul 30  2021 dovecot-acl-list
> -rw------- 1 vmail vmail   3304 Apr  1 11:35 dovecot.index
> -rw------- 1 vmail vmail 202444 Apr  1 11:43 dovecot.index.cache
> -rw------- 1 vmail vmail   2908 Apr  1 11:43 dovecot.index.log
> -rw------- 1 vmail vmail  32892 Apr  1 11:35 dovecot.index.log.2
> -rw------- 1 vmail vmail     91 Feb  9  2024 dovecot-keywords
> -rw------- 1 root  root    5744 Apr  1 10:30 dovecot.list.index
> -rw------- 1 root  root     480 Apr  1 10:52 dovecot.list.index.log
> 
> [..]
> 
> 
> Why do these 2 files get owned by root now ... ?

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?

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]