From 28878a1b2565fb94f08a2a776acec2b14dca55a0 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 7 Aug 2023 09:58:58 -0700 Subject: [PATCH] Allow no Date: header from Tuya --- include/acl-content | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/acl-content b/include/acl-content index dc06e2b..4cf6332 100644 --- a/include/acl-content +++ b/include/acl-content @@ -58,6 +58,11 @@ check_content_crm114: check_content: +# deny hosts = 127.0.0.1 : ::::1 +# condition = ${if match {$message_body} \ +# {http://lists.infradead.org/mailman/confirm/}} +# message = subscribe flood + # No content checking for hosts we trust. accept hosts = +trust_hosts @@ -125,7 +130,7 @@ check_content: but no 'Re:' in Subject:\n$acl_m_greylistreasons # Reject for lack of Date: header, except for bounces - deny !senders = : support@mydomain.com : AdminSupport@cisco.com + deny !senders = : support@mydomain.com : AdminSupport@cisco.com : system.ay@notice.tuya.com condition = ${if !def:h_Date: {1}} message = Your message lacks a Date: header, which RFC5322 says it MUST have. -- 2.49.0