Run spam.sieve after user scripts
Allows the user to override or disable it, if necessary.
This commit is contained in:
parent
aeedb25daf
commit
ee479ae683
|
@ -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" {
|
||||||
|
|
Loading…
Reference in New Issue