Programmers with network engineering skills
bill at herrin.us
Mon Mar 12 17:01:38 CDT 2012
On Mon, Mar 12, 2012 at 5:32 PM, Owen DeLong <owen at delong.com> wrote:
> Whenever I've built code to check someone's email address on a form, I always just looked for the following:
> 1. matches ^[^@][email protected][A-Za-z0-0\-\.]+[A-Za-z]$
> 2. The component to the right of the @ sign returns at least one A, AAAA, or MX record.
If I'm not mistaken, "B at M4N"@delong.com is a legitimately formatted
email address which fails part one of your test. Something along the
lines of @delong.com;bob at some.private.network is also supposed to be
legit though it's been so long since I looked at it that I may have
munged the format.
No, I don't allow these in systems I've designed either. Just sayin'.
William D. Herrin ................ herrin at dirtside.com bill at herrin.us
3005 Crane Dr. ...................... Web: <http://bill.herrin.us/>
Falls Church, VA 22042-3004
More information about the NANOG