email validation problems

JosephSheedy <[email protected]>
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
I'm using the Email validator, and experiencing some trouble with domain
resolution.  After having some intermittent failures, I
made a simple fuzz tester and found an address which doesn't work.
So as not to generate any extra spam traffic for these guys, replace '??' with
'taker' below :

>>> v = validators.Email(resolve_domain=True)
>>> email='foo@??.com'
>>> v.to_python(email)
Invalid: The domain of the email address does not exist (the portion
after the @: ??.com)

However, I can dig their MX records just fine.  I think it's a
pyDNS issue, but I'm not sure.

I'm running Debian testing using:
FormEncode-0.7.1-py2.4
python-dns 2.3.0-5.1

Any suggestions?  Thanks!

 --joseph

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.