From ba9db7cb3a1770fd61216a995e543cc940db819c Mon Sep 17 00:00:00 2001 From: Robin Raymond Date: Wed, 13 Sep 2017 12:22:50 +0200 Subject: [PATCH] fix missing rspamd service and activate extended xspam headers --- mail-server/rmilter.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mail-server/rmilter.nix b/mail-server/rmilter.nix index 113dc98..da3df2c 100644 --- a/mail-server/rmilter.nix +++ b/mail-server/rmilter.nix @@ -44,11 +44,18 @@ let in { config = with cfg; lib.mkIf enable { + services.rspamd = { + enable = true; + }; + services.rmilter = { enable = true; #debug = true; postfix.enable = true; - rspamd.enable = true; + rspamd = { + enable = true; + extraConfig = "extended_spam_headers = yes;"; + }; extraConfig = '' use_redis = true;