chiark / gitweb /
base.m4: Accept bad `HELO' hosts from `submission' clients.
[exim-config] / base.m4
diff --git a/base.m4 b/base.m4
index c0dd8921d4b953532eda24b19c7d7bdd6410b5ff..51cacc8a3e224fc9f6a2af70d920e3d889214f62 100644 (file)
--- a/base.m4
+++ b/base.m4
@@ -125,6 +125,10 @@ SECTION(global, acl)m4_dnl
 acl_smtp_helo = helo
 SECTION(acl, misc)m4_dnl
 helo:
+       ## Don't worry if this is local submission.  MUAs won't necessarily
+       ## have a clear idea of their hostnames.  (For some reason.)
+       accept   condition = ${if !eq{$acl_c_mode}{submission}}
+
        ## Check that the caller's claimed identity is actually plausible.
        ## This seems like it's a fairly effective filter on spamminess, but
        ## it's too blunt a tool.  Rather than reject, add a warning header.