summaryrefslogtreecommitdiffstats
path: root/lass/2configs/exim-retiolum.nix
blob: ea2f553b8230654f60dadac36464bd077ad1d01d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"; }
  ];
}