Re: javascript dns look up



On Apr 28, 5:45 pm, steve <s...@xxxxxxx> wrote:

Has anyone come across a "hack" to do a dns look up via JS
I want to evaluate an email address against a server to see if it is valid ,
I'm 50 % of the way there but i need a way to look up the email servers MX
record.

You may be wasting your time.

Many ISPs reject all outbound SMTP traffic, except to their own
outgoing mailserver. So you won't be able to establish an SMTP dialog
directly with the target user's mailserver.

Also, most mailservers no longer support the SMTP VRFY command - or
they seem to support it, but actually lie (eg. they say that *all*
addresses are valid). Your only remaining possibility is to check the
response to a dummy RCPT TO command - but I'm not sure that even this
is reliable now.

Try picking a relevant user's mailserver (not your ISP's outgoing
mailserver), and use Telnet to test the process manually. For example:

telnet mail.blah.com 25
HELO me
VRFY someuser
MAIL FROM me
RCPT TO someuser
(or somesuch)

If you cann't get it to work via Telnet, you won't be able to program
it - in Javascript or anything else.

HTH,
TC (MVP MSAccess)
http://tc2.atspace.com

.



Relevant Pages

  • Re: Unable to Establish Telnet Connection to Outside Static IP
    ... most simple NAT routers do not handle this. ... dual NIC config, if running dual NICs on the server we'll come back to it, I ... If you get a connection you should get a reply from Exchange, the SMTP ... telnet from inside our network to our outside static IP. ...
    (microsoft.public.windows.server.sbs)
  • Re: installing smtp virtual server under iis for sbs 2003
    ... see a blank windows and then quit automatically, or the telnet cannot send ... If see a blank Window and then quit automatically, please check if SMTP is ... Microsoft CSS Online Newsgroup Support ... <e-mail server settings. ...
    (microsoft.public.windows.server.sbs)
  • Re: SMTP communication problem
    ... When I try telnet to the smtp.problemdomain.com, I do get a banner. ... 220 Cypress Communications Server - Unauthorized use is Prohibited X1 ... Try enabling SMTP protocol logging on your SMTP Virtual Server. ...
    (microsoft.public.exchange.admin)
  • Re: Intersite Communications
    ... mailserver it should go via SMTP, ... server) - they communicate via X.400/MTA...). ... Sydney and one called Melbourne... ... e-mail to Melbourne 2003 via SMTP? ...
    (microsoft.public.exchange.connectivity)
  • Re: Cant Email to Moved Domain
    ... Susan Conkey [MVP] ... regarding DNS on the Exchange server itself...? ... automatically when I connect to it via Telnet? ... What tells the SMTP ...
    (microsoft.public.exchange.admin)