remove whitespace for rcpt in forward phase

This commit is contained in:
Son NK 2020-09-02 09:58:58 +02:00
parent 2d395f99bb
commit 916e6a1a7f
1 changed files with 1 additions and 1 deletions

View File

@ -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: