From b1575a0e6b51ef9a0b7adc5eb668c7d1ee41d6b0 Mon Sep 17 00:00:00 2001 From: Uwe Kamper Date: Mon, 12 Feb 2024 16:11:43 +0100 Subject: [PATCH] #881 add to results table --- checks/tasks/mail.py | 4 ++-- interface/templates/mail-results.html | 5 ++++- translations/en/main.po | 3 +++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/checks/tasks/mail.py b/checks/tasks/mail.py index 6a508f22a..cc1cb5164 100644 --- a/checks/tasks/mail.py +++ b/checks/tasks/mail.py @@ -237,8 +237,8 @@ def callback(results, addr, category): mtauth.tlsrpt_available = tlsrpt_available mtauth.tlsrpt_record = tlsrpt_record mtauth.tlsrpt_score = tlsrpt_score - if spf_available: - subtests["tlsprt"].result_good(tlsrpt_record) + #if spf_available: + # subtests["tlsprt"].result_good(tlsrpt_record) if skip_dkim_for_non_sending_domain(mtauth): diff --git a/interface/templates/mail-results.html b/interface/templates/mail-results.html index 33232c673..af0ab9846 100644 --- a/interface/templates/mail-results.html +++ b/interface/templates/mail-results.html @@ -48,7 +48,10 @@

{% include "details-test-item.html" with testitem=details.spf %} {% include "details-test-item.html" with testitem=details.spf_policy %} - +
+ {% include "string.html" with name="results mail auth tlsrpt label" %} +
+ {% include "details-test-item.html" with testitem=details.tlsrpt %} {% elif probe.name == 'mailtls' %}
{% include "string.html" with name="results mail tls starttls label" %} diff --git a/translations/en/main.po b/translations/en/main.po index 399f0f158..d6359adb3 100644 --- a/translations/en/main.po +++ b/translations/en/main.po @@ -4402,6 +4402,9 @@ msgstr "DMARC" msgid "results mail auth spf label" msgstr "SPF" +msgid "results mail auth tlsrpt label" +msgstr "TLS-RPT" + msgid "results mail dnssec domain label" msgstr "Email address domain"