l 2: add exim-retiolum.nix

This commit is contained in:
lassulus 2016-04-12 15:16:17 +02:00
parent be6bfb1736
commit 4f04085d52

View file

@ -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"; }
];
}