summaryrefslogtreecommitdiffstats
path: root/tv/2configs/exim-smarthost.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-21 21:55:17 +0100
committertv <tv@krebsco.de>2016-02-21 22:08:30 +0100
commit090771295eebbf7428d5d9766fd1d7741d80747f (patch)
tree7232394fda121d8baa1551ea3f31b035f389d231 /tv/2configs/exim-smarthost.nix
parenta73eaae18c3e873c09c313590a0ab8dad1fbc5d9 (diff)
tv exim-smarthost: bump
Diffstat (limited to 'tv/2configs/exim-smarthost.nix')
-rw-r--r--tv/2configs/exim-smarthost.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/tv/2configs/exim-smarthost.nix b/tv/2configs/exim-smarthost.nix
index 3bb022d77..75dd9b42f 100644
--- a/tv/2configs/exim-smarthost.nix
+++ b/tv/2configs/exim-smarthost.nix
@@ -6,17 +6,22 @@ with config.krebs.lib;
krebs.exim-smarthost = {
enable = true;
sender_domains = [
+ "krebsco.de"
"shackspace.de"
"viljetic.de"
];
- relay_from_hosts = [
- "10.243.13.37"
+ relay_from_hosts = concatMap (host: host.nets.retiolum.addrs4) [
+ config.krebs.hosts.nomic
+ config.krebs.hosts.wu
+ config.krebs.hosts.xu
];
internet-aliases = with config.krebs.users; [
+ { from = "postmaster@viljetic.de"; to = tv.mail; } # RFC 822
{ from = "mirko@viljetic.de"; to = mv.mail; }
{ from = "tomislav@viljetic.de"; to = tv.mail; }
{ from = "tv@destroy.dyn.shackspace.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"; }