Dovecot Subfolder Always Uses dot separator with mdbox

Steven Smith steve.t.smith at gmail.com
Mon May 24 23:45:38 EEST 2021


Thank you very much!

Here’s what I see:


# separator =   [this line commented out in 10-mail.conf]

> 1 SELECT INBOX
> imap(pid 35573 user target-user): Debug: Mailbox INBOX: Mailbox opened because: SELECT
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk NotJunk $Forwarded Redirected $MailFlagBit0 Forwarded $MailFlagBit2 $MailFlagBit1)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk NotJunk $Forwarded Redirected $MailFlagBit0 Forwarded $MailFlagBit2 $MailFlagBit1 \*)] Flags permitted.
> * 21627 EXISTS
> * 0 RECENT
> * OK [UNSEEN 14430] First unseen.
> * OK [UIDVALIDITY 1558435823] UIDs valid
> * OK [UIDNEXT 22415] Predicted next UID
> * OK [HIGHESTMODSEQ 39411] Highest
> 1 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).


separator = /

> imap(pid 35890 user target-user): Debug: Mailbox INBOX: Mailbox opened because: SELECT
> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk NotJunk $Forwarded Redirected $MailFlagBit0 Forwarded $MailFlagBit2 $MailFlagBit1)
> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $NotJunk NotJunk $Forwarded Redirected $MailFlagBit0 Forwarded $MailFlagBit2 $MailFlagBit1 \*)] Flags permitted.
> * 21627 EXISTS
> * 0 RECENT
> * OK [UNSEEN 14430] First unseen.
> * OK [UIDVALIDITY 1558435823] UIDs valid
> * OK [UIDNEXT 22415] Predicted next UID
> * OK [HIGHESTMODSEQ 39411] Highest
> 1 OK [READ-WRITE] Select completed (0.001 + 0.000 secs).



Steve


> On May 24, 2021, at 1:56 AM, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> 
>> 
>> On 22/05/2021 20:36 Steven Smith <steve.t.smith at gmail.com> wrote:
>> 
>> 
>> I’m trying to configure dovecot to use mailbox subfolders that look like both foo/bar on the IMAP client and the filesystem.
>> 
>> But the subfolders created all look like foo.bar, not foo/bar with a proper nesting structure.
>> 
>> This also happens when the folder ‘bar’ is moved into the folder ‘foo’—A new folder `foo.bar’ is created.
>> 
>> I believe that i’m following the configuration rules at https://wiki.dovecot.org/MailboxFormat/Maildir#Maildir_and_filesystems and https://wiki.dovecot.org/MailLocation/Maildir. This issue happens whether I set separator to its default, ‘.’, or ‘/’:
>> 
> 
> Namespace separator and filesystem separator are different. It should be using / as *filesystem* separator with LAYOUT=FS, and it should be using namespace separator / since you've specified it.
> 
> Can you do `doveadm exec imap -o mail_debug=yes -u target-user` and provide logs after `1 SELECT INBOX`
> 
> Aki

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210524/366b9a57/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20210524/366b9a57/attachment.p7s>


More information about the dovecot mailing list