diff options
| author | tv <tv@krebsco.de> | 2016-02-01 17:53:16 +0100 | 
|---|---|---|
| committer | tv <tv@krebsco.de> | 2016-02-01 17:53:16 +0100 | 
| commit | eda65468603c6f3370840274efdcdf14f42d82f2 (patch) | |
| tree | 828775895b1b6d7a213c3410a397face195da2b7 /tv | |
| parent | d82584450cc02aeca15aa7df1bb4731863b558e4 (diff) | |
tv exim-smarthost: open smtp port
Diffstat (limited to 'tv')
| -rw-r--r-- | tv/1systems/cd.nix | 1 | ||||
| -rw-r--r-- | tv/2configs/exim-smarthost.nix | 5 | 
2 files changed, 4 insertions, 2 deletions
diff --git a/tv/1systems/cd.nix b/tv/1systems/cd.nix index 783d23c..1d94576 100644 --- a/tv/1systems/cd.nix +++ b/tv/1systems/cd.nix @@ -41,7 +41,6 @@ with lib;        tv.iptables = {          enable = true;          input-internet-accept-new-tcp = [ -          "smtp"            "xmpp-client"            "xmpp-server"          ]; diff --git a/tv/2configs/exim-smarthost.nix b/tv/2configs/exim-smarthost.nix index f5f63d2..bcfea78 100644 --- a/tv/2configs/exim-smarthost.nix +++ b/tv/2configs/exim-smarthost.nix @@ -1,4 +1,6 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: + +with lib;  {    krebs.exim-smarthost = { @@ -34,4 +36,5 @@        { from = "mirko"; to = "mv"; }      ];    }; +  tv.iptables.input-internet-accept-new-tcp = singleton "smtp";  }  | 
