procmail
[Top] [All Lists]

Re: Need recipe to match ALL-NUMERIC addresses @whatever

1997-08-25 21:03:22
On Mon, 25 Aug 1997, The Doctor {Who?} wrote:

I'm in dire need of a recipe that will match an all-numeric address from
whatever domain sends it...  And I'd prefer a purely procmail recipe, if
possible!

So, what I need to match is stuff like:

143671(_at_)msn(_dot_)com
03985932865(_at_)mci(_dot_)com
38957272(_at_)compuserve(_dot_)com
(etc)

But NOT match on address with OTHER than numbers in the user part of the
address, IE:

25463(_dot_)254(_at_)compuserve(_dot_)com
652-2546(_at_)mcimail(_dot_)com

How about:

:0
* ^From: [0-9]+@
/dev/null


-- 
The best cure for insomnia is to get a  lot of sleep.
                -- W. C. Fields