mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 15:23:27 +08:00
log msg["From"] for the failed reply from alias
This commit is contained in:
parent
539bf56e97
commit
bae556f521
1 changed files with 2 additions and 1 deletions
|
@ -295,8 +295,9 @@ class MailHandler:
|
|||
user_email = forward_email.gen_email.user.email
|
||||
if envelope.mail_from.lower() != user_email.lower():
|
||||
LOG.error(
|
||||
f"Reply email can only be used by user email. Actual mail_from: %s. User email %s. reply_email %s",
|
||||
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"],
|
||||
user_email,
|
||||
reply_email,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue