From 945496f67da6ded14f5e60fd09209657c8f8e644 Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Wed, 23 Jun 2021 19:47:51 +0200 Subject: [PATCH] use warning for ignore email --- email_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email_handler.py b/email_handler.py index b4ff15b9..cd1b88ee 100644 --- a/email_handler.py +++ b/email_handler.py @@ -1556,7 +1556,7 @@ def handle(envelope: Envelope) -> str: LOG.w("Cannot parse Postfix queue ID from %s", msg["Received"]) if should_ignore(mail_from, rcpt_tos): - LOG.e("Ignore email mail_from=%s rcpt_to=%s", mail_from, rcpt_tos) + LOG.w("Ignore email mail_from=%s rcpt_to=%s", mail_from, rcpt_tos) return status.E204 # sanitize email headers