Browse Source

use warning level for bounce log message

Son NK 5 years ago
parent
commit
59a336f5cd
1 changed files with 1 additions and 1 deletions
  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
     # in this case Postfix will try to send a bounce report to original sender, which is
     # the "reply email"
     # the "reply email"
     if envelope.mail_from == "<>":
     if envelope.mail_from == "<>":
-        LOG.error(
+        LOG.warning(
             "Bounce when sending to alias %s from %s, user %s",
             "Bounce when sending to alias %s from %s, user %s",
             alias,
             alias,
             contact.website_from,
             contact.website_from,