mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-29 12:30:34 +05:00
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
Block a user