From 7ba1281909eb5ec160d386b3b6abbb9d0b264336 Mon Sep 17 00:00:00 2001 From: Hendrik Wolff Date: Sun, 17 Sep 2023 16:33:02 +0200 Subject: [PATCH] mail: Enable the listescape plugin Make it possible to use special characters like `.` in mail directories. --- modules/mail/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/mail/default.nix b/modules/mail/default.nix index 6dc23fb..2fc4970 100644 --- a/modules/mail/default.nix +++ b/modules/mail/default.nix @@ -215,6 +215,7 @@ in } + mail_plugins = $mail_plugins listescape plugin { sieve_plugins = sieve_imapsieve sieve_extprograms sieve_global_extensions = +vnd.dovecot.pipe @@ -230,6 +231,9 @@ in imapsieve_mailbox2_from = Spam imapsieve_mailbox2_causes = COPY imapsieve_mailbox2_before = file:/etc/dovecot/sieve/report-ham.sieve + + # https://doc.dovecot.org/configuration_manual/plugins/listescape_plugin/ + listescape_char = "\\" } ''; };