|
Alberto Delgado |
Hello
Dovecot maildir format has a 255 character limit because this is maximum length of a folder name. This limit affects folders and all subfolder levels because maildir default format has full path in the folder name. I have to change to maildir layout with FS structure.
An example. Maildir default format:
/.INBOX.SUBFOLDER NAME 1.SUBFOLDER NAME 2.SUBFOLDER NAME 3/
Maildir with FS structure:
/INBOX/
/SUBFOLDER NAME1/
/SUBFOLDER NAME2/
/SUBFOLDER NAME3/
This way you can get 255 character limit per folder name and not full path.
I setup "DIRNAME" too, with unusual characters to prevent namespace conflict.
I think that this could be a great improvement for every server and specially for customers with heavy imap mailboxes.
more info:
doc.dovecot.org/configuration_manual/mail_location/Maildir/