mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-28 16:06:12 +01:00
fix missing rspamd service and activate extended xspam headers
This commit is contained in:
parent
73be826cca
commit
ba9db7cb3a
1 changed files with 8 additions and 1 deletions
|
@ -44,11 +44,18 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = with cfg; lib.mkIf enable {
|
config = with cfg; lib.mkIf enable {
|
||||||
|
services.rspamd = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
services.rmilter = {
|
services.rmilter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#debug = true;
|
#debug = true;
|
||||||
postfix.enable = true;
|
postfix.enable = true;
|
||||||
rspamd.enable = true;
|
rspamd = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = "extended_spam_headers = yes;";
|
||||||
|
};
|
||||||
extraConfig =
|
extraConfig =
|
||||||
''
|
''
|
||||||
use_redis = true;
|
use_redis = true;
|
||||||
|
|
Loading…
Reference in a new issue