tv sendmail: setuid in exim-*
This commit is contained in:
parent
cc395214f5
commit
7cff3c0650
|
@ -177,12 +177,6 @@ with config.krebs.lib;
|
|||
tv.iptables.input-internet-accept-new-tcp = singleton "ssh";
|
||||
}
|
||||
|
||||
{
|
||||
# TODO: exim
|
||||
security.setuidPrograms = [
|
||||
"sendmail" # for sudo
|
||||
];
|
||||
}
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.get
|
||||
|
|
|
@ -4,5 +4,9 @@ with config.krebs.lib;
|
|||
|
||||
{
|
||||
krebs.exim-retiolum.enable = true;
|
||||
krebs.setuid.sendmail = {
|
||||
filename = "${pkgs.exim}/bin/exim";
|
||||
mode = "4111";
|
||||
};
|
||||
tv.iptables.input-retiolum-accept-new-tcp = singleton "smtp";
|
||||
}
|
||||
|
|
|
@ -40,5 +40,9 @@ with config.krebs.lib;
|
|||
{ from = "mirko"; to = "mv"; }
|
||||
];
|
||||
};
|
||||
krebs.setuid.sendmail = {
|
||||
filename = "${pkgs.exim}/bin/exim";
|
||||
mode = "4111";
|
||||
};
|
||||
tv.iptables.input-internet-accept-new-tcp = singleton "smtp";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue