From da777f611e0162224f5c738cff72ffd1d00d1b20 Mon Sep 17 00:00:00 2001 From: Nantha Sorubakanthan Date: Tue, 13 Jan 2026 18:19:36 +0100 Subject: [PATCH] fix(dovecot): set mailbox_list_layout to fs 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. --- emailwiz.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emailwiz.sh b/emailwiz.sh index d0e8035..04beee0 100644 --- a/emailwiz.sh +++ b/emailwiz.sh @@ -242,6 +242,9 @@ passdb pam { driver = pam } +# 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\`. +mailbox_list_layout = fs mail_driver = maildir mail_path = ~/Mail mail_inbox_path = ~/Mail/Inbox