diff --git a/src/mailsrv/Containerfile b/src/mailsrv/Containerfile index 27f34e9..7a97424 100644 --- a/src/mailsrv/Containerfile +++ b/src/mailsrv/Containerfile @@ -26,7 +26,7 @@ ARG FILESUID=5000 ARG DEBIAN_FRONTEND=noninteractive # install packages we want -RUN apt update -y && apt install -y rsyslog postfix dovecot-imapd dovecot-lmtpd +RUN apt update -y && apt install -y rsyslog postfix dovecot-imapd dovecot-lmtpd dovecot-sieve # add virtual mail user RUN addgroup --gid ${FILESUID:?} vmail && \ diff --git a/src/mailsrv/assets/dovecot/conf.d/10-mail.conf b/src/mailsrv/assets/dovecot/conf.d/10-mail.conf index 337d8d5..98a397e 100644 --- a/src/mailsrv/assets/dovecot/conf.d/10-mail.conf +++ b/src/mailsrv/assets/dovecot/conf.d/10-mail.conf @@ -46,7 +46,7 @@ namespace inbox { # Hierarchy separator to use. You should use the same separator for all # namespaces or some clients get confused. '/' is usually a good one. # The default however depends on the underlying mail storage format. - #separator = + separator = / # Prefix required to access this namespace. This needs to be different for # all namespaces. For example "Public/". diff --git a/src/mailsrv/assets/dovecot/conf.d/15-mailboxes.conf b/src/mailsrv/assets/dovecot/conf.d/15-mailboxes.conf index bfc0a4d..d88460a 100644 --- a/src/mailsrv/assets/dovecot/conf.d/15-mailboxes.conf +++ b/src/mailsrv/assets/dovecot/conf.d/15-mailboxes.conf @@ -54,6 +54,9 @@ namespace inbox { mailbox Trash { special_use = \Trash } + mailbox Archive { + special_use = \Archive + } # For \Sent mailboxes there are two widely used names. We'll mark both of # them as \Sent. User typically deletes one of them if duplicates are created. diff --git a/src/mailsrv/assets/dovecot/conf.d/20-lmtp.conf b/src/mailsrv/assets/dovecot/conf.d/20-lmtp.conf index 7acbfed..d18433b 100644 --- a/src/mailsrv/assets/dovecot/conf.d/20-lmtp.conf +++ b/src/mailsrv/assets/dovecot/conf.d/20-lmtp.conf @@ -25,5 +25,5 @@ lda_mailbox_autosubscribe = yes protocol lmtp { # Space separated list of plugins to load (default is global mail_plugins). - #mail_plugins = $mail_plugins + mail_plugins = $mail_plugins sieve }