Run spam.sieve after user scripts

Allows the user to override or disable it, if necessary.
This commit is contained in:
Andrey Golovizin 2018-01-07 13:08:04 +01:00
parent aeedb25daf
commit ee479ae683

View File

@ -41,7 +41,7 @@ in
protocols = [ "sieve" ]; protocols = [ "sieve" ];
sieveScripts = { sieveScripts = {
before = builtins.toFile "spam.sieve" '' after = builtins.toFile "spam.sieve" ''
require "fileinto"; require "fileinto";
if header :is "X-Spam" "Yes" { if header :is "X-Spam" "Yes" {