sieve: Use more convenient path and autocreate mailboxes rpi
authorAlex Dehnert <alex@dehnerts.com>
Mon, 17 Jul 2023 04:12:27 +0000 (04:12 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Mon, 17 Jul 2023 04:12:27 +0000 (04:12 +0000)
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
conf.d/90-sieve.conf

index 6eadbf47e06fe5bcf05a347ddff733ee4d499901..09cb36eff47de08cbabe6654984df8a6166dc277 100644 (file)
@@ -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
index 38cee7181d263aab43c617ccd7905799c84933d0..873ded5929788330d73c1bf9871655f7f9e37253 100644 (file)
@@ -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