From 94a9a1479b7531a03fe9115c7ecbe1297ef06a7d Mon Sep 17 00:00:00 2001 From: Son Date: Wed, 13 Oct 2021 10:18:46 +0200 Subject: [PATCH] add more logging --- email_handler.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/email_handler.py b/email_handler.py index 1f6dda19..40910366 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1889,6 +1889,12 @@ async def handle(envelope: Envelope) -> str: return status.E207 else: return status.E522 + else: + LOG.i( + "The rate limit is now removed for mail_from:%s,rcpt_tos:%s ", + mail_from, + rcpt_tos, + ) # Handle "out of office" auto notice. An automatic response is sent for every forwarded email # todo: remove logging