<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">dovecot imap server can deal with this if I make four symlinks:<br>
<br>
    Maildir/cur -> Maildir/INBOX/cur<br>
    Maildir/new -> Maildir/INBOX/new<br>
    Maildir/tmp -> Maildir/INBOX/tmp<br>
    Maildir/.INBOX.spam -> Maildir/INBOX.spam<br>
<br>
So, my question: is there anyway to make the Maildir support use the<br>
“correctly” named directories?</blockquote><div><br></div><div>On the dovecot side, it is possible to specify "INBOX=.../Maildir/INBOX" in the "mail_location" variable, for example the following works for me:</div>

<div><br></div><div>mail_location = maildir:/Maildir/%u:LAYOUT=fs:INBOX=/Maildir/%u/INBOX</div><div><br></div><div>But I don't know how it deals with the 'INBOX.spam' case (I don't know it you need the "LAYOUT=fs" part).</div>
</div>