Browse Source

use warning level for bounce log message

Son NK 5 năm trước cách đây
mục cha
commit
59a336f5cd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      email_handler.py

+ 1 - 1
email_handler.py

@@ -532,7 +532,7 @@ def handle_reply(envelope, smtp: SMTP, msg: Message, rcpt_to: str) -> (bool, str
     # in this case Postfix will try to send a bounce report to original sender, which is
     # the "reply email"
     if envelope.mail_from == "<>":
-        LOG.error(
+        LOG.warning(
             "Bounce when sending to alias %s from %s, user %s",
             alias,
             contact.website_from,