-
-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double @ Sign In Sent Email Causing Rate Limiting #3252
Comments
Can you paste the logs of the admin container too please? I suspect that the bug is in core/admin/mailu/internal/views/postfix.py |
Hi @nextgens, I have added the admin logs as requested. |
Right, thank you. Please see if what's on #3254 fixes it |
I've also sent a PR upstream so that we can drop our workarounds jichu4n/srslib#3 |
No luck, I'm afraid. This time it looks like the alias map rather than the recipient map.
|
Right, that's something else... we really should have tests for this. |
Environment & Version
Docker Compose version v2.26.1
Mailu version 2.0
Description
If a user attempts to send an email to an invalid email address containing two @ signs, for example to "john@[email protected]", podop raises an exception and fails to lookup the domain part of the email. Postfix treats this as a temporary error, and advises the mail client to try again later. This repeats until the client is rate limited.
Note that '@' signs are allowed in the local part of an email address as long as they are within quotes. (Which is not the case here, but still.) https://en.wikipedia.org/wiki/Email_address#Local-part
Replication Steps
Send an to email address with two '@' signs.
Observed behaviour
Client rate limited.
Expected behaviour
Fail gracefully.
Logs
The text was updated successfully, but these errors were encountered: