'';
};
config = lib.mkIf config.myServices.mail.enable {
- services.duplyBackup.profiles.mail.excludeFile = ''
- + /var/lib/rspamd
- '';
services.cron.systemCronJobs = let
cron_script = pkgs.runCommand "cron_script" {
buildInputs = [ pkgs.makeWrapper ];
in
[ "*/20 * * * * vhost ${cron_script}/scan_reported_mails" ];
+ systemd.services.rspamd.serviceConfig.Slice = "mail.slice";
services.rspamd = {
enable = true;
- debug = true;
+ debug = false;
overrides = {
"actions.conf".text = ''
reject = null;