summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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