3 ms·
.+@.+ seems to be the only one without too many false-negatives
by ulucs 9y ago
.+@.+ seems to be the only one without too many false-negatives
- zaarn 9y agoWell the best solution is to check if .+@(.+) matches and then try to lookup what the capture group returned via your DNS resolver. If it has an MX record (or CNAME to something with MX), then deliver the mail to there. If you can't resole the domain part, return an error.