exim: add primary_host to local_domains

This commit is contained in:
lassulus 2017-03-04 19:59:36 +01:00
parent dd30ebef45
commit 6344a9ff6a

View File

@ -55,7 +55,7 @@ let
local_domains = mkOption {
type = with types; listOf hostname;
default = ["localhost"] ++ config.krebs.build.host.nets.retiolum.aliases;
default = unique (["localhost" cfg.primary_hostname] ++ config.krebs.build.host.nets.retiolum.aliases);
};
relay_from_hosts = mkOption {