mail-server/dovecot.nix: automatically subscribe to new mailboxes

When a mailbox is created by sieve or is delivered to directly by IMAP commands,
created IMAP folders are not subscribed to by dovecot.  These configuration
options change that.

Acked-by: Ruben Maher <ruben@maher.fyi>
This commit is contained in:
Ruben Maher 2017-11-21 08:21:57 +10:30
parent be49f31a33
commit d3fc1cccbd
1 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,9 @@ in
plugin { plugin {
sieve = file:/var/sieve/%u.sieve sieve = file:/var/sieve/%u.sieve
} }
lda_mailbox_autosubscribe = yes
lda_mailbox_autocreate = yes
''; '';
}; };
}; };