From 44b811d09eba1fae5a2034b6aee0f391b9d5e370 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Wed, 19 Jun 2024 09:14:57 +0100 Subject: [PATCH] Correct names of fields in summary record --- root/usr/bin/mailstats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/usr/bin/mailstats.py b/root/usr/bin/mailstats.py index c4e82ff..810bc77 100644 --- a/root/usr/bin/mailstats.py +++ b/root/usr/bin/mailstats.py @@ -578,8 +578,8 @@ def get_heading(): tag_reject_info = f"Tag level: {SATagLevel}; Reject level: {SARejectLevel} {warnnoreject}" # SMTP connection stats - smtp_stats = f"All External SMTP connections accepted: {totalexternalsmtpsessions}\n"\ - f"All Internal SMTP connections accepted: {totalinternalsmtpsessions}\n"\ + smtp_stats = f"External SMTP connections accepted: {totalexternalsmtpsessions}\n"\ + f"Internal SMTP connections accepted: {totalinternalsmtpsessions}\n"\ f"Emails per hour: {emailperhour:.1f}/hr\n"\ f"Average spam score (accepted): {spamavg or 0:.2f}\n"\ f"Average spam score (rejected): {rejectspamavg or 0:.2f}\n"\