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
1 changed files with 8 additions and 1 deletions

View File

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