diff options
author | lassulus <lass@aidsballs.de> | 2016-04-12 15:16:17 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-12 15:16:17 +0200 |
commit | 4f04085d5239e2c688a370706f9007edd0a0d5bb (patch) | |
tree | 05779648974e222a754c90b9ac3cc006d8aff8ef | |
parent | be6bfb17365046486abdd3af01f05b0cb99331ea (diff) |
l 2: add exim-retiolum.nix
-rw-r--r-- | lass/2configs/exim-retiolum.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lass/2configs/exim-retiolum.nix b/lass/2configs/exim-retiolum.nix new file mode 100644 index 000000000..ea2f553b8 --- /dev/null +++ b/lass/2configs/exim-retiolum.nix @@ -0,0 +1,14 @@ +{ config, lib, pkgs, ... }: + +with config.krebs.lib; + +{ + krebs.exim-retiolum.enable = true; + krebs.setuid.sendmail = { + filename = "${pkgs.exim}/bin/exim"; + mode = "4111"; + }; + krebs.iptables.tables.filter.INPUT.rules = [ + { predicate = "-i retiolum -p tcp --dport smtp"; target = "ACCEPT"; } + ]; +} |