<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">how about switching to use autoexpunge?</div><div class=""><br class=""></div><div class=""><a href="https://wiki.dovecot.org/MailboxSettings" class="">https://wiki.dovecot.org/MailboxSettings</a></div><div class=""><br class=""></div><div class="">Sami</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Feb 2020, at 11.01, Philip Colmer <<a href="mailto:philip.colmer@linaro.org" class="">philip.colmer@linaro.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">We're using dovecot on a help desk ticketing system. The system<br class="">doesn't perform any cleanup of IMAP mailboxes so we have a regular<br class="">cronjob doing this:<br class=""><br class="">/usr/bin/doveadm flags add -A '\Deleted' SEEN SENTBEFORE 12w &&<br class="">/usr/bin/doveadm expunge -A DELETED MAILBOX '*'<br class=""><br class="">Recently, doveadm has been reporting this:<br class=""><br class="">doveadm(nobody): Error: User initialization failed: Namespace '':<br class="">mkdir(/nonexistent/mail) failed: Permission denied (euid=65534(nobody)<br class="">egid=65534(nogroup))<br class="">doveadm(nobody): Error: User init failed<br class="">doveadm(DEFAULT-CW-USER): Info: User no longer exists, skipping<br class=""><br class="">Indeed, using<br class=""><br class="">doveadm user "*"<br class=""><br class="">does include "nobody" in the list but I can't understand why. The mail<br class="">group in /etc/group does not include "nobody" and there are users in<br class="">/etc/passwd with similar attributes to "nobody" that do not appear in<br class="">the list of users from doveadm.<br class=""><br class="">What can I do to tell doveadm to forget about "nobody"?<br class=""><br class="">Thanks.<br class=""><br class="">Philip<br class=""></div></div></blockquote></div><br class=""></div></body></html>