From ee479ae683fd7d8e2d11cbde2f8953e3374f9bd7 Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Sun, 7 Jan 2018 13:08:04 +0100 Subject: [PATCH] Run spam.sieve after user scripts Allows the user to override or disable it, if necessary. --- mail-server/dovecot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-server/dovecot.nix b/mail-server/dovecot.nix index 731b578..807a708 100644 --- a/mail-server/dovecot.nix +++ b/mail-server/dovecot.nix @@ -41,7 +41,7 @@ in protocols = [ "sieve" ]; sieveScripts = { - before = builtins.toFile "spam.sieve" '' + after = builtins.toFile "spam.sieve" '' require "fileinto"; if header :is "X-Spam" "Yes" {