mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
remove unnecessary sanitize on mailbox email
This commit is contained in:
parent
5480f6d35b
commit
b9b442294b
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ async def handle_forward(
|
|||
mail_from = envelope.mail_from
|
||||
for mb in alias.mailboxes:
|
||||
# email send from a mailbox to alias
|
||||
if mb.email.lower().strip() == mail_from:
|
||||
if mb.email == mail_from:
|
||||
LOG.warning("cycle email sent from %s to %s", mb, alias)
|
||||
handle_email_sent_to_ourself(alias, mb, msg, alias.user)
|
||||
return [(True, "250 Message accepted for delivery")]
|
||||
|
|
Loading…
Reference in a new issue