On Tue, 2010-04-13 at 09:39 -0400, Charles Gregory wrote:
> I would PROPOSE (to those with a nice testing rig) that the rule be 
> modified so that there has to be at least one non-numeric character after 
> the initial first 6 digits.... ie. /^\d{6,}\S*[^\d\s]\S*@/
> 
I'm wondering why exactly six leading numbers have been specified. It
seems too rigidly specified to me. Anyway, here's my modified rule:

header FROM_STARTS_WITH_NUMS From =~ /\d{6,}[a-z._-][a-z0-9._-]{0,50}@/i
     
I've tested it against these addresses and got the results shown:

Hit:   Numbers first <123456a...@example.com>
Hit:   Numbers first <123456asdf_at-...@example.com>
Miss:  Numbers first <123...@example.com>
Miss:  Numbers first <12a...@example.com>
Miss:  0279445...@example.com

As I don't get either spam or ham from this type of address, I'd be
pleased if anybody who does can put an example on Pastebin and post the
link here.


Martin


Reply via email to