summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-01 17:53:16 +0100
committertv <tv@krebsco.de>2016-02-01 17:53:16 +0100
commitb58f37ce3833b7800c0a9ec83367dc888ea571b3 (patch)
tree494d114ac8e8f8d146d2fa02aa3bd4cbd7e331a8 /tv/2configs
parentfe025213ea5c15012fd83f1064269a315a2d576a (diff)
tv exim-smarthost: open smtp port
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/exim-smarthost.nix5
1 files changed, 4 insertions, 1 deletions
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";
}