19 May
2020
19 May
'20
10:51 p.m.
On 2020-05-19 16:18, Stuart Henderson wrote:
It does in the not entirely uncommon case where you have setup dovecot-fts-xapian, have multiple system users rather than a single uid owning all mailboxes, and need to index all mailboxes.
PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND 44468 root 2 0 11M 18M sleep/6 netio 1:41 68.36% doveadm index -A *
With solr the indexing is done out-of-process and typically under a safe uid.
no doveconf -n, no problem
if you really have a bug it should be solved
i think you could
su --user=non-root-user doveadm index -A
to not have it run as root, it works well for fangfrisch, dovecot should not allow commands as root without thinking of consequences