<div dir="ltr"><div><div>This is from my config<br><br>mail_location = maildir:~/Maildir<br><br></div>and in my userdb-ldap.conf<br><br>user_attrs = \<br> ... \<br></div> =home=%{ldap:homedir}, \<br> ...<br><div><br></div><div>Am I missing something?<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 24, 2018 at 12:12 PM, Aki Tuomi <span dir="ltr"><<a href="mailto:aki.tuomi@dovecot.fi" target="_blank">aki.tuomi@dovecot.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is a configuration issue, not a bug.<br>
<br>
use<br>
<br>
mail_home=/path/to/some/<wbr>directory<br>
<br>
mail_location=maildir~/Maildir<br>
<br>
that is, make sure the mail location is under mail home (even for<br>
virtual users).<br>
<span class="HOEnZb"><font color="#888888"><br>
Aki<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On 24.01.2018 13:03, Thorsten Hater wrote:<br>
> Hi everyone,<br>
><br>
> I have noticed recently that Dovecot creates lock directories<br>
> under users' Maildirs which look like IMAP folders. This is bad<br>
> since users will see IMAP folders that are not supposed to be<br>
> there.<br>
><br>
> In my logs I see<br>
><br>
> dovecot: imap(...): Error:<br>
> file_create_locked(/.../<wbr>Maildir/.vsize.lock) failed: Is a directory<br>
><br>
> The directory in question<br>
><br>
> # ls /.../Maildir/.vsize.lock/<br>
> cur/<br>
> dovecot.index.log <br>
> dovecot-uidlist <br>
> maildirfolder <br>
> new/ <br>
> tmp/<br>
><br>
> so Dovecot seems to think this to be an IMAP folder.<br>
><br>
> I am using Dovecot 2.2.27 under Debian, built from source,<br>
> the lock_method is set to fnctl, and the quota plugin uses the<br>
> maildir method.<br>
><br>
> Can somebody advice me on how to fix this?<br>
><br>
> Best regards,<br>
> Thorsten<br>
<br>
</div></div></blockquote></div><br></div>