From 90eae05e9e4423d069642d48a75839e9673af577 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Fri, 21 Aug 2020 10:20:08 +0200 Subject: [PATCH] better logging --- email_handler.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/email_handler.py b/email_handler.py index 8b2b63b0..5fd85ca6 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1041,7 +1041,8 @@ def handle_spam( if is_reply: LOG.d( - "Inform user %s about spam email sent from alias %s to %s", + "Inform %s (%s) about spam email sent from alias %s to %s", + mailbox, user, alias, contact, @@ -1071,7 +1072,8 @@ def handle_spam( else: # inform user LOG.d( - "Inform user %s about spam email sent by %s to alias %s", + "Inform %s (%s) about spam email sent by %s to alias %s", + mailbox, user, contact, alias,