X-Git-Url: https://git.distorted.org.uk/~mdw/exim-config/blobdiff_plain/185b5456076ca86959643ce2f19c98c0f82f281e..61295d9c46bb3639fe3140ed645da5313d95e66f:/lists.m4 diff --git a/lists.m4 b/lists.m4 index 85d48c2..11e1baa 100644 --- a/lists.m4 +++ b/lists.m4 @@ -25,7 +25,13 @@ SECTION(global, lists)m4_dnl ## Definitions for known networks. hostlist localnet = <; \ 127.0.0.0/8 ; ::1 +hostlist thishost = <; \ + +localnet ; @[] +hostlist foreign = <; \ + 212.13.198.75 ; 2001:ba8:0:1d9::2:1 ; \ + 212.13.198.76 ; 2001:ba8:0:1d9::1:1 hostlist border = <; \ + ! +foreign ; \ 62.49.204.144/28 ; 2001:470:1f09:1b98::/64 ; \ 212.13.198.64/28 ; 2001:ba8:0:1d9::/64 hostlist trusted = <; \ @@ -41,17 +47,10 @@ domainlist thishost = @ : @[] : \ { telecaster=tele \ stratocaster=strat }}} \ {$item.$qualify_domain}} -domainlist public = +thishost : distorted.org.uk -domainlist known = +public : \ - ${if exists{CONF_sysconf_dir/domains.conf} \ - {partial0-lsearch; CONF_sysconf_dir/domains.conf} \ - {}} +domainlist public = +thishost : CONF_sysdomains -## Some magic lists used because `match_local_parts' and friends don't expand -## their right-hand sides. -localpartlist dom_users = ${expand:KV(users, {$value}{*})} -localpartlist dom_locals = ${expand:KV(locals, {$value}{+user_extaddr})} -localpartlist user_extaddr = ^CONF_user_extaddr_regexp +## All of the `standard' local parts which ought to be provided by a domain. +localpartlist required = postmaster : abuse DIVERT(null) ###----- That's all, folks --------------------------------------------------