improve logging

This commit is contained in:
Son NK 2020-03-09 08:45:16 +01:00
parent b5637d6415
commit cdea0e08ce

View file

@ -368,10 +368,7 @@ def handle_reply(envelope, smtp: SMTP, msg: Message, rcpt_to: str) -> str:
# the "reply email"
if envelope.mail_from == "<>":
LOG.error(
"Bounce when sending to alias %s, user %s, from header: %s",
alias,
gen_email.user,
msg["From"],
"Bounce when sending to alias %s, user %s", alias, gen_email.user,
)
handle_bounce(