[151166] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Programmers with network engineering skills

daemon@ATHENA.MIT.EDU (Jeroen van Aart)
Mon Mar 12 19:24:08 2012

Date: Mon, 12 Mar 2012 16:22:53 -0700
From: Jeroen van Aart <jeroen@mompl.net>
To: NANOG list <nanog@nanog.org>
In-Reply-To: <728A9697-AD60-482A-A533-E7868CFF9546@delong.com>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

Owen DeLong wrote:
> http://en.wikipedia.org/wiki/Email_address#Valid_email_addresses
> 
> You may have noticed my particular test wouldn't accept foo!bar!ucbvax!user format addresses, either.
> 
> It works well enough for my purposes. I did not claim it was perfect.

Why not leave it to the MTA to decide what is a valid address? It only 
requires a few SMTP commands to the MTA to know if it will accept it. 
Normally the MTA will tell you after the "rcpt to:" command if it will 
accept it (i'm ignoring some badly behaving MTAs who will swallow 
anything and then bounce, no point trying to work around such crap).

No need to re-invent the wheel, unless you're actually creating an MTA 
or something similar.

Who is to say that even IF your address verifier verifies it as valid 
that the MTA is configured to allow it (or the other way around)? MTAs 
can be arbitrarily configured to (dis)allow "bang path" addresses, IP 
addresses etc.

Regards,
Jeroen

-- 
Earthquake Magnitude: 5.0
Date: Monday, March 12, 2012 17:55:10 UTC
Location: Kepulauan Talaud, Indonesia
Latitude: 3.0222; Longitude: 127.0054
Depth: 35.00 km


home help back first fref pref prev next nref lref last post