W3C home > Mailing lists > Public > www-validator@w3.org > June 2009

Re: checklink: Is it Possible to Enable mailto link validation?

From: Etienne Miret <elimerl@gmail.com>
Date: Tue, 23 Jun 2009 22:04:51 +0200
Message-ID: <4A413563.9070309@gmail.com>
To: www-validator@w3.org
Ville Skyttä a écrit :
> Sending mail and watching 
> for bounces or something like that is not something a tool like the link 
> checker should be doing.
>   
Of course not. However this is not required in order to check for an 
email adress. The following SMTP transaction tests two gmail addresses 
(mine and a bogus one) without sending any mail :

$ telnet gmail-smtp-in.l.google.com 25
220 mx.google.com ESMTP 5si857404ewy.28
EHLO ibook-g4.elimerl.fr
250-mx.google.com at your service, [89.85.146.36]
250-SIZE 35651584
250-8BITMIME
250-ENHANCEDSTATUSCODES
250 PIPELINING
MAIL FROM: <postmaster@ibook-g4.elimerl.fr>
250 2.1.0 OK 5si857404ewy.28
RCPT TO: <elimerl@gmail.com>
250 2.1.5 OK 5si857404ewy.28
RSET
250 2.1.5 Flushed 5si857404ewy.28
MAIL FROM: <postmaster@ibook-g4.elimerl.fr>
250 2.1.0 OK 5si857404ewy.28
RCPT TO: <thisaddressdoesnotexist@gmail.com>
550-5.1.1 The email account that you tried to reach does not exist. 
Please try
550-5.1.1 double-checking the recipient's email address for typos or
550-5.1.1 unnecessary spaces. Learn more at                            
550 5.1.1 http://mail.google.com/support/bin/answer.py?answer=6596 
5si857404ewy.28
QUIT
221 2.0.0 closing connection 5si857404ewy.28

This doesn't work with all domains. For example, Yahoo! will always 
answer "OK" to the RCPT TO command, and report an error only after an 
email has actually been sent. However, this is a postfix feature, so I 
guess it works quite well. See : 
<http://www.postfix.org/ADDRESS_VERIFICATION_README.html>.

Regards,

-- 
Etienne Miret
Received on Tuesday, 23 June 2009 20:05:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:35 GMT