[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: check if the email address is valid



Howard Mann [howardm@xmission.com] wrote:
> Shao Zhang wrote:
> > 
> > Hi,
> >         I need to write a program to check if a given email address is
> >         valid. I cannot simply send a message to the email address and
> >         waiting for a bounce.
> > 
> >         The only way I can think is to telnet to the mail server on port
> >         25 and do a VFRY command. However, some mail servers are
> >         configured not to allow such command.
> > 
> >         Is there any other way to do this??
> 
> 
> Try the "vrfy" application, available as a .deb

Hi,

it seems that vrfy simplely calls VRFY after telneting to the mail
server, and it still does not really check the validity.

[14:31|pts/5]shao@shao % vrfy shao@cia.com.au
send some mail, i'll try my best

[14:31|pts/5]shao@shao % vrfy shao@linux.cia.com.au
VRFY not available

Thanks.

Shao.

-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________


Reply to: