On Fri, Jul 24, 2026 at 08:15:31AM +0300, Aki Tuomi wrote:
> 
> > On 22/07/2026 15:55 EEST Roland Hieber via dovecot <[email protected]> 
> > wrote:
> > 
> >  
> > Hi,
> > 
> > I am trying to understand how 'mailbox_list_layout = fs' is working when I
> > have 'mail_driver = Maildir' (on Dovecot 2.4.1-4 from Debian trixie).
> > If I look at 'doveconf -a', I see that 'mailbox_list_layout = fs' is already
> > the default, however, the Maildirs from my freshly created test user are 
> > still
> > created on disk in the format .INBOX.subfolder instead of INBOX/subfolder, 
> > which
> > is in conflict with what the documentation says at
> > <https://doc.dovecot.org/2.4.3/core/config/mailbox_formats/maildir.html#directory-layout>.
> > 
> > However, if I set 'mailbox_list_layout = fs' *explicitely* in the global
> > part of /etc/dovecot/conf.d/10-mail.conf, then delete all files and folders 
> > in
> > the mail home of my test user, reload dovecot, send a test mail, and create 
> > a
> > new subfolder for my test user in Thunderbird, the new subfolder gets 
> > created on
> > disk as INBOX/subfolder, just like I expect.
> > 
> > The behaviour is consistently reproducable in both directions: I also get
> > maildirs with dots again after I delete mailbox_list_layout from 
> > 10-mail.conf,
> > reload dovecot, and clear the mail home of my test user.
> > 
> > What is going on here…? I don't see any change in 'doveconf -a' between 
> > these
> > two use cases (the output is literally identical, and it's both showing
> > 'mailbox_list_layout = fs'), and obviously it's missing from 'doveconf -n'
> > because it's the default.
> > 
> > I also found out that it is possible to override this setting per user by 
> > using
> > the 'userdb_mailbox_list_layout' option in the extra fields of the userdb, 
> > but
> > I'm not setting any extra fields there for my test user.
> > 
> > Output of 'doveconf -n' (redacted where necessary) is attached.
> > 
> > Regards,
> > 
> >  - Roland
> > 
> 
> This is because maildir specifically has a default for using maildir++.
> 
> ~$ doveconf -d maildir/
> maildir {
>   mail_attachment_detection_options = 
>   mail_path = %{home}/Maildir
>   mailbox_list_layout = maildir++
> }

Okay, thank you for the explanation. I'm very confused because there is no
mention of that maildir/ section in the docs at all, and it doesn't show at all
in 'doveconf -a'.

 - Roland

-- 
Roland Hieber, Pengutronix e.K.          | [email protected]          |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to