diff options
author | System administrator | 2020-08-10 23:02:51 +0200 |
---|---|---|
committer | System administrator | 2020-08-10 23:02:51 +0200 |
commit | a7d33265b2aa39f2ea8559b1bfffbe060ef9dc65 (patch) | |
tree | 3373b61dfb246976bc7352212585547ea4d69bfb /conf.d | |
parent | 4a8b9743367e440f7524ec3a04bb265471de5c56 (diff) | |
download | exim-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.example | 1 | ||||
-rw-r--r-- | conf.d/020_acl.conf | 2 |
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 = | |||
18 | domainlist local_domains = @ | 18 | domainlist local_domains = @ |
19 | domainlist relay_to_domains = | 19 | domainlist relay_to_domains = |
20 | hostlist relay_from_hosts = localhost | 20 | hostlist relay_from_hosts = localhost |
21 | hostlist trusted_relay_hosts_ip = | ||
21 | hostlist trusted_relay_hosts = | 22 | hostlist 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 | ||