Great Circle Associates Majordomo-Workers
(February 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: User unknown shouldn't be getting through
From: Brock Rozen <brozen @ webdreams . com>
Date: Sun, 2 Feb 1997 17:06:33 -0500 (EST)
To: Jason L Tibbitts III <tibbs @ hpc . uh . edu>
Cc: majordomo-workers @ greatcircle . com
In-reply-to: <ufag1zekj9i.fsf@sina.hpc.uh.edu>

On 2 Feb 1997, Jason L Tibbitts III wrote:

> BR> Do we have any type of "valid address" checking in?
> 
> That is what the &valid_addr routine in majordomo.pl does.  It doesn't
> handle this case, though.

Right. Could we use this instead? It does handle this case, and a few
others.

If it fails, then it's a bad addr


if ($email =~ /(@.*@)|(\.\.)/ ||
    $email !~ /^.+\@[a-zA-Z0-9\-_\.]+\.[a-zA-Z0-9]{2,3}$/) 

 ------------------------------------------------------------------------- 
 | Brock Rozen | brozen@webdreams.com | http://www.webdreams.com/~brozen | 
 ------------------------------------------------------------------------- 




Follow-Ups:
References:
Indexed By Date Previous: subject_prefix without subjects...
From: "Edward S. Marshall" <emarshal@common.net>
Next: Re: subject_prefix without subjects...
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Indexed By Thread Previous: Re: User unknown shouldn't be getting through
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: User unknown shouldn't be getting through
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>

Google
 
Search Internet Search www.greatcircle.com