MOO-cows Mailing List Archive
Re: E-Mail Adresses
> would it be possible to 'check-out' a given E-MAIL address to see if it
> actually exists. Like if passed "firstname.lastname@example.org" it returns 1, but if
> I passed it "email@example.com" it would return 0.
In general, no.
smtp = 25;
con = open_network_connection("nop.com", 25);
notify(con, "VRFY firstname.lastname@example.org");
if (this:response_code(con) = "250")
This doesn't work. nop.com could very well have a DNS MX record
indicating that all of its incoming mail should be handled by some
other host. (In fact, it does.)
con = open_network_connection(this:lookup_mx_record("nop.com"), 25);
this:skip_blather(); notify(con, "VRFY email@example.com");
return this:response_code(con) == "250";
Still doesn't work. There are many compliant SMTP hosts that claim
that all addresses are valid in response to VRFY requests; you'll find
out that firstname.lastname@example.org responds positively to a VRFY because
the machine handling mail for MITRE cannot immediately determine this.
In fact, the only technique useful is to send email with a secret to
the address and see if some human then has a copy of the secret. See
> Also, is IDENT possible on the MOO(Instead of just knowing the host one
> connects to the MOO with, it also knows the login name of the user).
A number of people have implemented support for the IDENT protocol,
but it won't necessarily give you what you want. To start with,
IDENT's RFC sez that it should not be used for authentication uses,
and it certainly shouldn't be used so except in tightly controlled
environments, so be careful.
IDENT is intended for informational uses, and it doesn't necessarily
hand back usernames; several well-known internet sites hand back
sequence numbers or encrypted identity information, and a few just
return a constant string for all users.
Flat text is just *never* what you want. ---stephen p spackman
Subject Index |