the stock main.cf file. Problem diagnosed by Eray Aslan.
File: conf/main.cf.
-20250920
+20240924
- Added back a hunk of patch 20250911 that had somehow gone
- missing. File: smtp/smtp.h.
+ TLSRPT Workaround: when policies[*].policy.policy-type is
+ "no-policy-found", report the TLSRPT policy domain name as
+ the policies[*].policy.policy-domain value. This ignores
+ that TLSA policies must be reported with different policy-domain
+ values than STS policies. File: tls/tlsrpt_wrapper.c.
* Patches change both the patchlevel and the release date. Snapshots have no
* patchlevel; they change the release date only.
*/
-#define MAIL_RELEASE_DATE "20250920"
+#define MAIL_RELEASE_DATE "20250924"
#define MAIL_VERSION_NUMBER "3.11"
#ifdef SNAPSHOT
/* policies[].policy.policy-string[]. Ignored if the tls_policy_type
/* value is TLSRPT_NO_POLICY_FOUND.
/* .IP tls_policy_domain (may be null)
-/* policies[].policy.policy-domain.
+/* policies[].policy.policy-domain. If null, this defaults to the
+/* TLSRPT policy domain.
/* .IP mx_host_patterns (may be null)
/* policies[].policy.mx-host[]. Ignored if the tls_policy_type
/* value is TLSRPT_NO_POLICY_FOUND.
PSTR_OR_NULL(mx_host_patterns));
trw->tls_policy_type = tls_policy_type;
+ if (tls_policy_domain == 0)
+ tls_policy_domain = trw->rpt_policy_domain;
MYFREE_IF_SET_AND_COPY(trw->tls_policy_domain, tls_policy_domain);
if (tls_policy_type == TLSRPT_NO_POLICY_FOUND) {
ARGV_FREE_IF_SET_AND_CLEAR(trw->tls_policy_strings);
- ARGV_FREE_IF_SET_AND_CLEAR(trw->tls_policy_strings);
+ ARGV_FREE_IF_SET_AND_CLEAR(trw->mx_host_patterns);
} else {
ARGV_FREE_IF_SET_AND_COPY(trw->tls_policy_strings, tls_policy_strings);
ARGV_FREE_IF_SET_AND_COPY(trw->mx_host_patterns, mx_host_patterns);