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 | b58f37ce3833b7800c0a9ec83367dc888ea571b3 (patch) | |
tree | 494d114ac8e8f8d146d2fa02aa3bd4cbd7e331a8 | |
parent | fe025213ea5c15012fd83f1064269a315a2d576a (diff) |
tv exim-smarthost: open smtp port
-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 783d23ca9..1d9457600 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 f5f63d284..bcfea7821 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"; } |