From 3e1258c7862986db4eb18291ca3bf03b3bb2c047 Mon Sep 17 00:00:00 2001 From: Uwe Kamper Date: Mon, 12 Feb 2024 16:24:06 +0100 Subject: [PATCH] #881 check for lowercase magic string --- checks/tasks/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checks/tasks/mail.py b/checks/tasks/mail.py index cc1cb5164..3ae8510f8 100644 --- a/checks/tasks/mail.py +++ b/checks/tasks/mail.py @@ -861,7 +861,7 @@ def tlsrpt_callback(data, status, r): score = scoring.MAIL_AUTH_TLSRPT_FAIL for d in r.data.data: txt = as_txt(d) - if txt.lower().startswith("v=TLSRPTv1"): + if txt.lower().startswith("v=tlsrptv1"): record.append(txt) if available: # We see more than one TLSRPT record. Fail the test.