summaryrefslogtreecommitdiffstats
path: root/tv/2configs/exim-smarthost.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-27 13:10:21 +0100
committertv <tv@krebsco.de>2016-02-27 13:10:21 +0100
commit7cff3c0650acc6c1c07d578faa9bb35ff61266bc (patch)
treed9f556593da5b068a5b0da72a0e1ad189ae6967e /tv/2configs/exim-smarthost.nix
parentcc395214f58e4ac1d95e9855d4cf4784fa75d17e (diff)
tv sendmail: setuid in exim-*
Diffstat (limited to 'tv/2configs/exim-smarthost.nix')
-rw-r--r--tv/2configs/exim-smarthost.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tv/2configs/exim-smarthost.nix b/tv/2configs/exim-smarthost.nix
index 75dd9b42f..3ea010524 100644
--- a/tv/2configs/exim-smarthost.nix
+++ b/tv/2configs/exim-smarthost.nix
@@ -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";
}