From 090771295eebbf7428d5d9766fd1d7741d80747f Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 21 Feb 2016 21:55:17 +0100 Subject: tv exim-smarthost: bump --- tv/2configs/exim-smarthost.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tv/2configs/exim-smarthost.nix') diff --git a/tv/2configs/exim-smarthost.nix b/tv/2configs/exim-smarthost.nix index 3bb022d7..75dd9b42 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"; } -- cgit v1.2.3