From: Alex Dehnert Date: Mon, 17 Jul 2023 04:12:27 +0000 (+0000) Subject: sieve: Use more convenient path and autocreate mailboxes X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frpi;p=sysconfig%2Fdovecot.git sieve: Use more convenient path and autocreate mailboxes Apparently Mailbox autocreate used to be on by default, and at least testing now it seems useful to leave it on. --- diff --git a/conf.d/15-lda.conf b/conf.d/15-lda.conf index 6eadbf4..09cb36e 100644 --- a/conf.d/15-lda.conf +++ b/conf.d/15-lda.conf @@ -37,7 +37,7 @@ #lda_original_recipient_header = # Should saving a mail to a nonexistent mailbox automatically create it? -#lda_mailbox_autocreate = no +lda_mailbox_autocreate = yes # Should automatically created mailboxes be also automatically subscribed? #lda_mailbox_autosubscribe = no diff --git a/conf.d/90-sieve.conf b/conf.d/90-sieve.conf index 38cee71..873ded5 100644 --- a/conf.d/90-sieve.conf +++ b/conf.d/90-sieve.conf @@ -24,7 +24,8 @@ plugin { # The path to the user's main active script. If ManageSieve is used, this the # location of the symbolic link controlled by ManageSieve. - sieve = ~/.dovecot.sieve + #sieve = ~/.dovecot.sieve + sieve = /var/mail/virtual/sieve/%u/dovecot.sieve # The default Sieve script when the user has none. This is a path to a global # sieve script file, which gets executed ONLY if user's private Sieve script