From 90836eff5bade473547ecb8062fa1e93ef6a7d34 Mon Sep 17 00:00:00 2001 From: Michael Kroes Date: Tue, 27 Oct 2015 02:20:00 -0400 Subject: [PATCH 1/2] For a new user create the archive folder --- conf/dovecot-mailboxes.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/dovecot-mailboxes.conf b/conf/dovecot-mailboxes.conf index 1ba5b9ad..481d7f42 100644 --- a/conf/dovecot-mailboxes.conf +++ b/conf/dovecot-mailboxes.conf @@ -41,6 +41,10 @@ namespace inbox { special_use = \Trash auto = subscribe } + mailbox Archive { + special_use = \Archive + auto = subscribe + } # dovevot's standard mailboxes configuration file marks two sent folders # with the \Sent attribute, just in case clients don't agree about which From fd9287a0fd9f7baa4089800eb62c11d7a8a23308 Mon Sep 17 00:00:00 2001 From: Michael Kroes Date: Tue, 27 Oct 2015 07:58:07 -0400 Subject: [PATCH 2/2] Add Archive folder to comment in mail-dovecot.sh --- setup/mail-dovecot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/mail-dovecot.sh b/setup/mail-dovecot.sh index f6715dd2..1cd0398b 100755 --- a/setup/mail-dovecot.sh +++ b/setup/mail-dovecot.sh @@ -56,7 +56,7 @@ tools/editconf.py /etc/dovecot/conf.d/10-mail.conf \ mail_privileged_group=mail \ first_valid_uid=0 -# Create, subscribe, and mark as special folders: INBOX, Drafts, Sent, Trash, and Spam. +# Create, subscribe, and mark as special folders: INBOX, Drafts, Sent, Trash, Spam and Archive. cp conf/dovecot-mailboxes.conf /etc/dovecot/conf.d/15-mailboxes.conf # ### IMAP/POP