mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 00:48:32 +01:00
Remove the workaround
This commit is contained in:
parent
f34c1f555f
commit
62e028c30f
1 changed files with 4 additions and 5 deletions
|
@ -421,11 +421,10 @@ def handle_forward(envelope, smtp: SMTP, msg: Message, rcpt_to: str) -> (bool, s
|
||||||
|
|
||||||
# Sometimes when user clicks on "reply all"
|
# Sometimes when user clicks on "reply all"
|
||||||
# an email is sent to the same alias that the previous message is destined to
|
# an email is sent to the same alias that the previous message is destined to
|
||||||
# todo: uncomment this
|
if envelope.mail_from == mailbox_email:
|
||||||
# if envelope.mail_from == mailbox_email:
|
# nothing to do
|
||||||
# # nothing to do
|
LOG.d("Forward from %s to %s, nothing to do", envelope.mail_from, mailbox_email)
|
||||||
# LOG.d("Forward from %s to %s, nothing to do", envelope.mail_from, mailbox_email)
|
return False, "550 SL ignored"
|
||||||
# return False, "550 SL ignored"
|
|
||||||
|
|
||||||
contact = get_or_create_contact(msg["From"], alias)
|
contact = get_or_create_contact(msg["From"], alias)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue