exim: use upstream security wrappers
This commit is contained in:
parent
8fc693cae2
commit
4fd1aaaf8d
@ -50,14 +50,18 @@ in {
|
|||||||
'';
|
'';
|
||||||
systemPackages = [ pkgs.exim ];
|
systemPackages = [ pkgs.exim ];
|
||||||
};
|
};
|
||||||
krebs.setuid = {
|
security.wrappers = {
|
||||||
exim = {
|
exim = {
|
||||||
filename = "${pkgs.exim}/bin/exim";
|
source = "${pkgs.exim}/bin/exim";
|
||||||
mode = "4111";
|
owner = "root";
|
||||||
|
group = "root";
|
||||||
|
setuid = true;
|
||||||
};
|
};
|
||||||
sendmail = {
|
sendmail = {
|
||||||
filename = "${pkgs.exim}/bin/exim";
|
source = "${pkgs.exim}/bin/exim";
|
||||||
mode = "4111";
|
owner = "root";
|
||||||
|
group = "root";
|
||||||
|
setuid = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
systemd.services.exim = {
|
systemd.services.exim = {
|
||||||
|
Loading…
Reference in New Issue
Block a user