<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Also, you can use</p>
<p>first_valid_uid = <number></p>
<p>last_valid_uid = <number></p>
<p>to limit which users are considered valid.</p>
<p>Aki<br>
</p>
<div class="moz-cite-prefix">On 17.2.2020 12.50, Sami Ketola wrote:<br>
</div>
<blockquote type="cite"
cite="mid:4377C21C-8238-4134-8F3A-869B1088C654@Open-Xchange.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
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="" moz-do-not-send="true">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=""
moz-do-not-send="true">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>
</blockquote>
</body>
</html>