summaryrefslogtreecommitdiffstats
path: root/tv/2configs/exim-smarthost.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-09-12 12:56:39 +0200
committertv <tv@krebsco.de>2023-09-13 16:23:38 +0200
commitfbd485cd86c7e9984819357398f912a2d5510845 (patch)
treee1a9e2eedacfa25018d6b0eef3f4628a4d503ebc /tv/2configs/exim-smarthost.nix
parent5370e0485788224126861e076110ac705013d2de (diff)
tv: emigrate
Diffstat (limited to 'tv/2configs/exim-smarthost.nix')
-rw-r--r--tv/2configs/exim-smarthost.nix46
1 files changed, 0 insertions, 46 deletions
diff --git a/tv/2configs/exim-smarthost.nix b/tv/2configs/exim-smarthost.nix
deleted file mode 100644
index 6750d9a8..00000000
--- a/tv/2configs/exim-smarthost.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-with import ./lib;
-{ config, pkgs, ... }: {
- environment.systemPackages = [
- pkgs.eximlog
- ];
- krebs.exim-smarthost = {
- enable = true;
- dkim = [
- { domain = "viljetic.de"; }
- ];
- sender_domains = [
- "krebsco.de"
- "shackspace.de"
- "viljetic.de"
- ];
- relay_from_hosts = concatMap (host: host.nets.retiolum.addrs) [
- config.krebs.hosts.nomic
- config.krebs.hosts.xu
- ];
- internet-aliases = with config.krebs.users; [
- { from = "bku-eppler@viljetic.de"; to = tv.mail; }
- { from = "postmaster@viljetic.de"; to = tv.mail; } # RFC 822
- { from = "mirko@viljetic.de"; to = mv-ni.mail; }
- { from = "tomislav@viljetic.de"; to = tv.mail; }
- { from = "tv@viljetic.de"; to = tv.mail; }
- { from = "tv@shackspace.de"; to = tv.mail; }
- ];
- system-aliases = [
- { from = "mailer-daemon"; to = "postmaster"; }
- { from = "postmaster"; to = "root"; }
- { from = "nobody"; to = "root"; }
- { from = "hostmaster"; to = "root"; }
- { from = "usenet"; to = "root"; }
- { from = "news"; to = "root"; }
- { from = "webmaster"; to = "root"; }
- { from = "www"; to = "root"; }
- { from = "ftp"; to = "root"; }
- { from = "abuse"; to = "root"; }
- { from = "noc"; to = "root"; }
- { from = "security"; to = "root"; }
- { from = "root"; to = "tv"; }
- { from = "mirko"; to = "mv"; }
- ];
- };
- tv.iptables.input-internet-accept-tcp = singleton "smtp";
-}