diff options
author | makefu <github@syntax-fehler.de> | 2016-02-22 14:35:59 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-02-22 14:35:59 +0100 |
commit | b25d15573ab10a4b2dd55e46291fbab6adf70162 (patch) | |
tree | 1036547a8003c5767565d53d748d83d3614271b6 /tv/2configs/exim-smarthost.nix | |
parent | 5b7039f1f11e7cf2da6f3735cc7d99322a31c7a5 (diff) | |
parent | 8393444dce1888d369955e46dd16983a43762bb9 (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/2configs/exim-smarthost.nix')
-rw-r--r-- | tv/2configs/exim-smarthost.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tv/2configs/exim-smarthost.nix b/tv/2configs/exim-smarthost.nix index 4b49e20b1..75dd9b42f 100644 --- a/tv/2configs/exim-smarthost.nix +++ b/tv/2configs/exim-smarthost.nix @@ -5,19 +5,23 @@ with config.krebs.lib; { krebs.exim-smarthost = { enable = true; - primary_hostname = "${config.networking.hostName}.retiolum"; 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"; } |