Re: javascript dns look up



On Apr 30, 1:19 am, shimmyshack <matt.fa...@xxxxxxxxx> wrote:

On Apr 29, 4:48 pm, TC <gg.20.keen4s...@xxxxxxxxxxxxxxx> wrote:

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

the smtp traffic would be server side of course, the results sent back via javascript

Understood. I assumed, probably incorrectly, that the code would run
on a client PC. But none-the-less, I still think he will not be able
to do what he wants (for other reasons stated above).

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

.



Relevant Pages

  • RE: Gradual move to own mail server - strategy for noob
    ... Build a mailserver, set up DNS MX records for your domain. ... New FreeBSD server so far only operating as a Samba server. ... IMAP server on my FreeBSD box (and using Maildir is my instinctive ... Install Procmail to deliver messages in Maildir format (to users' home ...
    (freebsd-questions)
  • Re: Mailserver system (postfix, sendmail or qmail ?)
    ... > I want to set up a mailserver on a FC3 system. ... I have access to a registered web site and its ... To me able to have mail in a mail client as well as via a web browser, ... you would set up an IMAP server on your server machine and let procmail ...
    (Fedora)
  • Re: javascript dns look up
    ... I want to evaluate an email address against a server to see if it is valid, ... directly with the target user's mailserver. ... and use Telnet to test the process manually. ... it - in Javascript or anything else. ...
    (comp.lang.javascript)
  • Re: Email Security question: Hijacked email !!! was: [opensuse] Vista
    ... First you have to find out which mailserver you have to contact. ... Spammers OTOH usually abuse the server with the highest number. ... (port 25 is the default SMTP port) ... Sending email with telnet on port 25 ...
    (SuSE)
  • Re: HILFE SMTP empfängt tausende Emails
    ... > der Server bedarf regelmäßiger Pflege... ... > problemlos Mails generieren. ... > Zugriff ungleich Relaying. ... Ist der Mailserver von außen auf Port 25 ...
    (microsoft.public.de.inetserver.iis)