exim: use upstream security wrappers
This commit is contained in:
parent
8fc693cae2
commit
4fd1aaaf8d
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user