You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@issues.apache.org on 2010/04/13 22:57:47 UTC

[Bug 6406] FROM_STARTS_WITH_NUMS matches on text-to-email

https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6406

--- Comment #1 from Karsten Bräckelmann <gu...@rudersport.de> 2010-04-13 16:57:43 EDT ---
(In reply to comment #0)
> header   MG_STARTSWITH_NUM  From =~ /\d{6,}[a-z._-][a-z0-9._-]{0,50}@/i

Why not limit it to the address part only? This feels overly complicated
anyway, to express "starts with numbers, but does not consist exclusively of
numbers". Oh, and it isn't anchored, so it matches also addresses that do not
*start* with numbers...

  From:addr =~ /^\d{2,50}\D/

What about this? Didn't read most of the thread (yet), and think about the RE
for too long... Take with some salt.

-- 
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.