<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
</div>
<blockquote type="cite">
<div>
On 31/12/2022 00:15 EET James Moe <<a href="mailto:moe.james@sma-inc.us">moe.james@sma-inc.us</a>> wrote:
</div>
<div>
</div>
<div>
</div>
<div>
I have been exploring dovecot and came across this:
</div>
<div>
</div>
<div>
$ sudo doveadm mailbox list
</div>
<div>
doveadm(root): Error: Mail access for users with UID 303 not permitted (see
</div>
<div>
first_valid_uid in config file, uid from mail_uid setting).
</div>
<div>
</div>
<div>
Hmm. After setting "first_valid_uid = 300":
</div>
<div>
</div>
<div>
$ sudo doveadm mailbox list
</div>
<div>
doveadm(root)<4380><4VP8EENer2McEQAAvbJltg>: Error: chdir(/root/) failed:
</div>
<div>
Permission denied (euid=303(vmail) egid=303(vmail) missing +x perm: /root, dir
</div>
<div>
owned by 0:0 mode=0700)
</div>
<div>
INBOX
</div>
<div>
</div>
<div>
I do not understand the error message.
</div>
<div>
</div>
</blockquote>
<div>
</div>
<div class="default-style">
There is an important hint in the error. (root). You might want to add -u someuser there?
</div>
<div class="default-style">
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>