mail: restructure
This commit is contained in:
parent
b0c95f0d40
commit
58f144d075
1 changed files with 18 additions and 20 deletions
|
@ -114,8 +114,7 @@ in
|
||||||
dkimKeyDirectory = "${config.chvp.dataPrefix}/var/dkim";
|
dkimKeyDirectory = "${config.chvp.dataPrefix}/var/dkim";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dovecot2 = {
|
services.dovecot2.sieve = {
|
||||||
sieve = {
|
|
||||||
extensions = [ "+editheader" ];
|
extensions = [ "+editheader" ];
|
||||||
scripts.after2 = pkgs.writeText "custom-spam.sieve" ''
|
scripts.after2 = pkgs.writeText "custom-spam.sieve" ''
|
||||||
require ["fileinto", "regex"];
|
require ["fileinto", "regex"];
|
||||||
|
@ -135,7 +134,6 @@ in
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
services.rspamd.extraConfig = ''
|
services.rspamd.extraConfig = ''
|
||||||
actions {
|
actions {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue