Re: javascript dns look up



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.

.



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: 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: Connection dropped by remote host
    ... > verizon via the telnet session. ... > exchange server to the verzion server, ... >> Your mailserver could be blocked by the remote server. ...
    (microsoft.public.exchange2000.connectivity)
  • Re: Perl/Mail Suggestion....
    ... I've just built myself a new server and installed Linux. ... If it is you should be able to telnet to it: ... You should see the postfix response message. ... Mailserver responds: enter mail. ...
    (comp.lang.perl.misc)