servo: dovecot: fix broken sieve
This commit is contained in:
@@ -127,9 +127,15 @@
|
|||||||
services.dovecot2.modules = [
|
services.dovecot2.modules = [
|
||||||
pkgs.dovecot_pigeonhole # enables sieve execution (?)
|
pkgs.dovecot_pigeonhole # enables sieve execution (?)
|
||||||
];
|
];
|
||||||
services.dovecot2.sieveScripts = {
|
services.dovecot2.sieve = {
|
||||||
|
# maybe not all of these are needed. source: <https://github.com/NixOS/nixpkgs/pull/275031#issuecomment-1891052685>
|
||||||
|
plugins = [ "sieve_imapsieve" "sieve_extprograms" ];
|
||||||
|
extensions = [ "fileinto" ];
|
||||||
|
globalExtensions = [ "+vnd.dovecot.pipe" "+vnd.dovecot.environment" ];
|
||||||
# if any messages fail to pass (or lack) DKIM, move them to Junk
|
# if any messages fail to pass (or lack) DKIM, move them to Junk
|
||||||
# XXX the key name ("after") is only used to order sieve execution/ordering
|
# XXX the key name ("after") is only used to order sieve execution/ordering
|
||||||
|
};
|
||||||
|
services.dovecot2.sieveScripts = {
|
||||||
after = builtins.toFile "ensuredkim.sieve" ''
|
after = builtins.toFile "ensuredkim.sieve" ''
|
||||||
require "fileinto";
|
require "fileinto";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user