mirror of
https://github.com/simple-login/app.git
synced 2024-09-27 20:31:30 +02:00
remove whitespace for rcpt in forward phase
This commit is contained in:
parent
2d395f99bb
commit
916e6a1a7f
@ -426,7 +426,7 @@ async def handle_forward(
|
||||
is_success indicates whether an email has been delivered and
|
||||
smtp_status is the SMTP Status ("250 Message accepted", "550 Non-existent email address", etc)
|
||||
"""
|
||||
address = rcpt_to.lower().strip() # alias@SL
|
||||
address = rcpt_to.lower().strip().replace(" ", "") # alias@SL
|
||||
|
||||
alias = Alias.get_by(email=address)
|
||||
if not alias:
|
||||
|
Loading…
Reference in New Issue
Block a user