forked from hacc/haccfiles
services/mail: reduce logspam
reduce logspam by out mail services by seeting them to logleven 5 (notice) and 3 (error)
This commit is contained in:
parent
99811b6711
commit
7815e32f9f
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@
|
|||
sources.nixos-mailserver.outPath
|
||||
];
|
||||
|
||||
# reduce log spam
|
||||
systemd.services.rspamd.serviceConfig.LogLevelMax = 3; # this is set to error because rspamd regularly complains about not enough learns
|
||||
systemd.services.postfix.serviceConfig.LogLevelMax = 5; # = notice
|
||||
systemd.services.dovecot2.serviceConfig.LogLevelMax = 5; # = notice
|
||||
|
||||
# stop postfix from dying if rspamd hiccups
|
||||
systemd.services.postfix.unitConfig = {
|
||||
Requires = lib.mkForce "dovecot2.service opendkim.service";
|
||||
|
|
Loading…
Reference in a new issue