29413 root 1 76 0 22820K 9204K kqread 1 0:17 5.86% indexer-worker
It runs as root while not really doing anything, but when it starts accessing users' files it temporarily drops privileges. This is necessary if users have multiple different UIDs.
to showed it with root privilege and 60% CPU load+disk I/O when doing text search over not yet indexed folder.
If you have only one UID e.g. vmail, you could set:
i'm not sure what you exactly mean.
I have simplest possible config - mail accounts are unix accounts and mail is at Maildir
my config below
# 2.1.7: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 8.3-STABLE amd64 disable_plaintext_auth = no listen = * mail_location = maildir:~/Maildir mail_plugins = fts fts_squat namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /usr/local/etc/dovecot/deny-users deny = yes driver = passwd-file } passdb { driver = pam } plugin { fts = squat fts_squat = partial=4 full=10 } protocols = imap ssl_cert =