-
Notifications
You must be signed in to change notification settings - Fork 54
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
Seemingly valid email address marked invalid #92
Comments
If you need more info, could I tell you the domain via email? (I'd prefer not to post it publicly) |
"Rejected as invalid" ... Is there a specific error it returns? If it feels like a DNS issue, it could be either on your end or a bad domain configuration.
I see no issue validating this (fictitious) address: [email protected] |
Ahh, yes: when I run
I think so. Output is as follows:
Cool, thanks - I sent you an email. It's weird because the person managed to email us from that domain, so presumably they can receive emails there too. Is it possible for a domain to appear as if it's not configured to accept email when it actually can? |
I'm sorry, the output of
If you have the
The domain in question does have an A (IPv4) and AAAA (IPv6) but no MX record. There should really be an MX record. Fortunately, most email systems will fallback to an A record. I confirmed that the A record address is listening on port 25 to receive mail.
In this case, you can use the
The tradeoff is how lax you want the validation. |
This is fantastic - thank you for all of this information and for responding so quickly! I feel like I understand the issue now. I'll continue validating against MX records unless we see many other cases of this happening. At that point I'll consider switching to accepting A or AAAA records. And in the meantime I've added the individual user's domain to a whitelist to let them bypass the check. |
An end-user on our site complained that their legitimate email address was rejected as invalid.
They are using a custom domain with a ".org.uk" TLD.
The domain is currently registered by Key-Systems GmbH and does not expire until some time in 2023. However, I did notice when checking the domain on whois.com that it says:
Would that be reason enough to mark their email address as invalid?
The text was updated successfully, but these errors were encountered: