summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorSystem administrator2020-08-10 23:02:51 +0200
committerSystem administrator2020-08-10 23:02:51 +0200
commita7d33265b2aa39f2ea8559b1bfffbe060ef9dc65 (patch)
tree3373b61dfb246976bc7352212585547ea4d69bfb /conf.d
parent4a8b9743367e440f7524ec3a04bb265471de5c56 (diff)
downloadexim-a7d33265b2aa39f2ea8559b1bfffbe060ef9dc65.tar.gz
acl: add trusted_relay_hosts_ip list
For trusted hosts for which no reverse host lookup should be made.
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/000_local.conf.example1
-rw-r--r--conf.d/020_acl.conf2
2 files changed, 3 insertions, 0 deletions
diff --git a/conf.d/000_local.conf.example b/conf.d/000_local.conf.example
index edb41fa..7726655 100644
--- a/conf.d/000_local.conf.example
+++ b/conf.d/000_local.conf.example
@@ -18,6 +18,7 @@ primary_hostname =
18domainlist local_domains = @ 18domainlist local_domains = @
19domainlist relay_to_domains = 19domainlist relay_to_domains =
20hostlist relay_from_hosts = localhost 20hostlist relay_from_hosts = localhost
21hostlist trusted_relay_hosts_ip =
21hostlist trusted_relay_hosts = 22hostlist trusted_relay_hosts =
22# (We rely upon hostname resolution working for localhost, because the default 23# (We rely upon hostname resolution working for localhost, because the default
23# uncommented configuration needs to work in IPv4-only environments.) 24# uncommented configuration needs to work in IPv4-only environments.)
diff --git a/conf.d/020_acl.conf b/conf.d/020_acl.conf
index 04a5e0a..6d3addf 100644
--- a/conf.d/020_acl.conf
+++ b/conf.d/020_acl.conf
@@ -96,6 +96,8 @@ acl_mta_mail:
96 require acl = acl_check_mail_introduction 96 require acl = acl_check_mail_introduction
97 message = Courtesy protocol violation: $acl_m_msg 97 message = Courtesy protocol violation: $acl_m_msg
98 98
99 accept hosts = +trusted_relay_hosts_ip
100
99 require verify = reverse_host_lookup/defer_ok 101 require verify = reverse_host_lookup/defer_ok
100 message = HELO/EHLO mismatch. 102 message = HELO/EHLO mismatch.
101 103