base.m4: Skip `HELO' checking in submission mode, not relay mode.
[exim-config] / base.m4
diff --git a/base.m4 b/base.m4
index 7c9cdb7..0620a9b 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
@@ -451,7 +451,7 @@ m4_define(<:DKIM_SIGN:>,
                        {CONF_dkim_keys_dir/$value/active/$dkim_selector.priv}:>)
        dkim_canon = relaxed
        dkim_strict = true
-       dkim_sign_headers = CONF_dkim_headers : \
+       dkim_sign_headers = CONF_dkim_headers:\
                X-CONF_header_token-DKIM-Key-Publication
        headers_add = \
                ${if DKIM_SIGN_P \