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