diff options
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 | ||