<div dir="ltr">Thank you, Sami. I've made that change.<div><br></div><div>Regards</div><div><br></div><div>Philip</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 17 Feb 2020 at 10:50, Sami Ketola <<a href="mailto:Sami.Ketola@open-xchange.com">Sami.Ketola@open-xchange.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi,<div><br></div><div>how about switching to use autoexpunge?</div><div><br></div><div><a href="https://wiki.dovecot.org/MailboxSettings" target="_blank">https://wiki.dovecot.org/MailboxSettings</a></div><div><br></div><div>Sami</div><div><br><div><br><blockquote type="cite"><div>On 17 Feb 2020, at 11.01, Philip Colmer <<a href="mailto:philip.colmer@linaro.org" target="_blank">philip.colmer@linaro.org</a>> wrote:</div><br><div><div>We're using dovecot on a help desk ticketing system. The system<br>doesn't perform any cleanup of IMAP mailboxes so we have a regular<br>cronjob doing this:<br><br>/usr/bin/doveadm flags add -A '\Deleted' SEEN SENTBEFORE 12w &&<br>/usr/bin/doveadm expunge -A DELETED MAILBOX '*'<br><br>Recently, doveadm has been reporting this:<br><br>doveadm(nobody): Error: User initialization failed: Namespace '':<br>mkdir(/nonexistent/mail) failed: Permission denied (euid=65534(nobody)<br>egid=65534(nogroup))<br>doveadm(nobody): Error: User init failed<br>doveadm(DEFAULT-CW-USER): Info: User no longer exists, skipping<br><br>Indeed, using<br><br>doveadm user "*"<br><br>does include "nobody" in the list but I can't understand why. The mail<br>group in /etc/group does not include "nobody" and there are users in<br>/etc/passwd with similar attributes to "nobody" that do not appear in<br>the list of users from doveadm.<br><br>What can I do to tell doveadm to forget about "nobody"?<br><br>Thanks.<br><br>Philip<br></div></div></blockquote></div><br></div></div></blockquote></div>