On Thu May 25 2000 at 11:11, Song Jianping wrote:
> Hello,
>
> Is there any utilities to check the validity of
> email address? That is, not only check the format
> of email address, but the existence of the mail box.
>
> I try to use "sendmail -bv" but it does not work
> as i imagine.
>
> can anyone give me a hint?
For a local mail server (or even a remote one)...
$ nc localhost 25
220 somebox.growzone.com.au ESMTP Sendmail 8.9.3/8.9.3; Thu, 25 May 2000 14:12:31 +1000
expn tony
250 Tony Nugent <[EMAIL PROTECTED]>
vrfy tony
250 Tony Nugent <[EMAIL PROTECTED]>
quit
(You can also use "telnet" instead of netcat).
The semantics of the expn and vrfy commands are slightly different.
Beware that this won't always give you the answers you expect.
You can also try using in test mode with "sendmail -bt". You'll
need to read some documentation about how to get the most out of
that.
The only real way to test things is to, well, test things... try
sending some email and watch what happens. "mail -v" is your
friend.
Cheers
Tony