chiark / gitweb /
base.m4: Skip `HELO' checking in submission mode, not relay mode.
[exim-config] / base.m4
diff --git a/base.m4 b/base.m4
index 799e3ee0f4389e5b9bf2ba8659d9b813016299da..0620a9b417af3ae4ec4e7cb0101779b8043fd9be 100644 (file)
--- a/base.m4
+++ b/base.m4
@@ -128,7 +128,7 @@ 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}}
+       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