From a891f462bb7e7058c046463c2f0216fb8bfe5764 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 27 Apr 2020 19:14:56 +0100 Subject: [PATCH] base.m4: Accept bad `HELO' hosts from `submission' clients. --- base.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/base.m4 b/base.m4 index c0dd892..51cacc8 100644 --- 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. -- 2.11.0