Upgrade configuration file in emailwiz for dovecot 2.4#352
Upgrade configuration file in emailwiz for dovecot 2.4#352mielota wants to merge 4 commits intoLukeSmithxyz:masterfrom
Conversation
|
thank you, this is very helpful! |
|
|
||
| # Our mail for each user will be in ~/Mail, and the inbox will be ~/Mail/Inbox | ||
| # The LAYOUT option is also important because otherwise, the boxes will be \`.Sent\` instead of \`Sent\`. | ||
| mail_location = $mailbox_format:~/Mail:INBOX=~/Mail/Inbox:LAYOUT=fs |
There was a problem hiding this comment.
Good changes, but you missed a small detail:
- mail_location = $mailbox_format:~/Mail:INBOX=~/Mail/Inbox:LAYOUT=fs
After migrating my familys Email server I noticed that mail folders dont show up as they should. The reason for that was the removal of the LAYOUT=fs option here.
Since dovecot 2.4, you have to specify it with a different variable instead:
mailbox_list_layout=fs
By default, your current configuration would assume all Mail folders to start with a dot, f.e. ".Sent" or ".Trash"
Previous versions of emailwiz used a filesystem layout that created folders without the dot, "Sent" or "trash"
There was a problem hiding this comment.
Hi norbjert
I am sorry for this, I will send a fix right now.
mailbox_list_layout = fs must appear explicitly in the config file even though it's the default value used according to https://doc.dovecot.org/2.4.1/core/config/mail_location.html#mailbox_list_layout If not set the folders will appear as .Drafts .Junk .Sent .Trash in the user's Mail directory instead of Drafts Junk Sent and Trash.
Specifying Dovecot version in README: LukeSmithxyz#352 (comment)
Added a line in the Troubleshooting section for this. |
Update README with Dovecot 2.4 version info.
This aims to fix issue #347
Maybe we should specify in the
READMEthat this specific version of the script is for Dovecot >= 2.4