]> www.infradead.org Git - users/dwmw2/eximconf.git/commitdiff
Allow no Date: header from Tuya
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 7 Aug 2023 16:58:58 +0000 (09:58 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 7 Aug 2023 16:58:58 +0000 (09:58 -0700)
include/acl-content

index dc06e2bf464877ef54e0e3162bb3cca47c735fb5..4cf633296d251713bd3d991353bf7c433f954f47 100644 (file)
@@ -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.