From 58d84f3882711dc3d7b6c7fb173962ace0fe29f8 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Mon, 13 Nov 2023 08:36:13 +0100 Subject: [PATCH] try fixing accepting incoming tls reports for mail host, again this is another place with a check on the policy domain... --- smtpserver/analyze.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smtpserver/analyze.go b/smtpserver/analyze.go index ba2382d..aed660c 100644 --- a/smtpserver/analyze.go +++ b/smtpserver/analyze.go @@ -260,7 +260,7 @@ func analyze(ctx context.Context, log *mlog.Log, resolver dns.Resolver, d delive log.Info("tlsrpt policy domain", mlog.Field("domain", p.Policy.Domain)) if d, err := dns.ParseDomain(p.Policy.Domain); err != nil { log.Infox("parsing domain in tls report", err) - } else if _, ok := mox.Conf.Domain(d); ok { + } else if _, ok := mox.Conf.Domain(d); ok || d == mox.Conf.Static.HostnameDomain { known = true break }