This commit is contained in:
Son 2021-10-19 14:03:51 +02:00
parent be7ae3021a
commit 421c121d59
1 changed files with 3 additions and 1 deletions

View File

@ -1033,7 +1033,9 @@ def generate_reply_email(contact_email: str, user: User) -> str:
def is_reverse_alias(address: str) -> bool:
return address.endswith(f"@{EMAIL_DOMAIN}") and (address.startswith("reply+") or address.startswith("ra+"))
return address.endswith(f"@{EMAIL_DOMAIN}") and (
address.startswith("reply+") or address.startswith("ra+")
)
# allow also + and @ that are present in a reply address