exim: use upstream security wrappers

This commit is contained in:
lassulus 2023-11-03 18:03:49 +01:00
parent 8fc693cae2
commit 4fd1aaaf8d

View File

@ -50,14 +50,18 @@ in {
'';
systemPackages = [ pkgs.exim ];
};
krebs.setuid = {
security.wrappers = {
exim = {
filename = "${pkgs.exim}/bin/exim";
mode = "4111";
source = "${pkgs.exim}/bin/exim";
owner = "root";
group = "root";
setuid = true;
};
sendmail = {
filename = "${pkgs.exim}/bin/exim";
mode = "4111";
source = "${pkgs.exim}/bin/exim";
owner = "root";
group = "root";
setuid = true;
};
};
systemd.services.exim = {