use warning log for reply from alias sent by unknown email

This commit is contained in:
Son NK 2020-01-31 12:06:34 +07:00
parent 46fd63fb60
commit 98fd940b02
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class MailHandler:
user_email = forward_email.gen_email.user.email
if envelope.mail_from.lower() != user_email.lower():
LOG.error(
LOG.warning(
f"Reply email can only be used by user email. Actual mail_from: %s. msg from header: %s, User email %s. reply_email %s",
envelope.mail_from,
msg["From"],