<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I've started seeing the following error in mail.err for precisely
one user on precisely one domain:<br>
</p>
<blockquote>
<p><font face="monospace">Error: mkdir(/var/mail/vmail//jeff/mail)
failed: Permission denied (euid=1000(jeff) egid=1001(jeff)
missing +w perm: /var/mail/vmail/, dir owned by 4000:4000
mode=0755)</font></p>
<p><font face="monospace">Error: Mailbox INBOX: Failed to
autocreate mailbox: Internal error occurred.</font></p>
</blockquote>
<p>In mail.log I see a bit more:</p>
<blockquote>
<p><font face="monospace">Warning: Failed to parse address from
`From_'-line: Missing domain<br>
Error: mkdir(/var/mail/vmail//jeff/mail) failed: Permission
denied (euid=1000(jeff) egid=1001(jeff) missing +w perm:
/var/mail/vmail/, dir owned by 4000:4000 mode=0755)<br>
Error: mkdir(/var/mail/vmail//jeff/mail) failed: Permission
denied (euid=1000(jeff) egid=1001(jeff) missing +w perm:
/var/mail/vmail/, dir owned by 4000:4000 mode=0755)<br>
Error: Mailbox INBOX: Failed to autocreate mailbox: Internal
error occurred. Refer to server log for more information.<br>
save failed to open mailbox INBOX: Mailbox INBOX: Failed to
autocreate mailbox: Internal error occurred.</font><br>
</p>
</blockquote>
<p>And yet there's no apparent problem sending and receiving mail
for user jeff, for all domains handled by the server. Other users
have no issues. The /var/mail/vmail/ hierarchy is all owned by
vmail:vmail (4000:4000) and directories are all 0755.</p>
<p>I suspect a red herring except it's been continuing for a week
now. I was reading this page (following some searching), but it
doesn't seem pertinent in the end.</p>
<blockquote>
<p><a class="moz-txt-link-freetext" href="https://wiki2.dovecot.org/MailLocation/mbox#A.2BAC8-var.2BAC8-mail.2BAC8_dotlocks">https://wiki2.dovecot.org/MailLocation/mbox#A.2BAC8-var.2BAC8-mail.2BAC8_dotlocks</a><br>
</p>
</blockquote>
<p>Any suggestions what this might be?<br>
</p>
<pre class="moz-signature" cols="72">--
Jeff Abrahamson
+33 6 24 40 01 57
+44 7920 594 255
<a class="moz-txt-link-freetext" href="http://p27.eu/jeff/">http://p27.eu/jeff/</a>
<a class="moz-txt-link-freetext" href="http://mobilitains.fr/">http://mobilitains.fr/</a></pre>
</body>
</html>