From 255c9bca7c6e3fcba02e9011fc0377d6fde99b65 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Mon, 17 Jul 2023 04:12:27 +0000 Subject: [PATCH] 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. --- conf.d/15-lda.conf | 2 +- conf.d/90-sieve.conf | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.34.1