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, []
250-SIZE 35651584
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
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 
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 : 


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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:59 UTC