fix missing rspamd service and activate extended xspam headers

This commit is contained in:
Robin Raymond 2017-09-13 12:22:50 +02:00
parent 73be826cca
commit ba9db7cb3a

View File

@ -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;