Bug 685 - rules: New and improved WINNER Rules
Summary: rules: New and improved WINNER Rules
Status: RESOLVED DUPLICATE of bug 710
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: Rules (show other bugs)
Version: SVN Trunk (Latest Devel Version)
Hardware: Other other
: P2 enhancement
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-11 09:02 UTC by Marc Perkel
Modified: 2002-08-22 19:30 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Perkel 2002-08-11 09:02:31 UTC
I'm on a roll here. Replaces all other winner rules.

   OVERALL        SPAM     NONSPAM  NAME
     15645       10416        5229  (all messages)
       452         445           7  WIN
       174         167           7  WINNING
       129         128           1  YOU_WON
       130         124           6  WINNER


body WINNER                     /\b(?:you.{0,4} a|lucky|big|next)
winner\b|winner!|(?-i:WINNER)/i
describe WINNER                 Claims you are a winner

body YOU_WON                    /\byou(?:'ve| have)? won(?!'|\w)/i
describe YOU_WON                You have WON!

body WIN		
/\b(?:register|chances?|opportunity|enter|entered|players?|more|could)\b.{0,9}\bwin\b|win
.{0,9}(?:!|up to|cash|big|car|now|free|\$[0-9,\.\$]+)\b/i
describe WIN			Who really wins?

body WINNING			/\bwinning
(?:strategies|entry|cash|numbers?|free|!)\b|(?-i:WINNING)|award.winning|\bclaim
your winnings/i
describe WINNING		Winning Stuff
Comment 1 Tony L. Svanstrom 2002-08-11 09:38:47 UTC
Subject: Re: [SAdev]  New: New and improved WINNER Rules

On Sun, 11 Aug 2002 the voices made bugzilla-daemon@hughes-family.org write:

> http://www.hughes-family.org/bugzilla/show_bug.cgi?id=685

> body WINNER                     /\b(?:you.{0,4} a|lucky|big|next)
> winner\b|winner!|(?-i:WINNER)/i

 The extra winner parts doesn't make any sense to me, winner\b is enough.

> body YOU_WON                    /\byou(?:'ve| have)? won(?!'|\w)/i

 We got this one right close to two weeks ago, wasn't it submitted then?



	/Tony
Comment 2 Marc Perkel 2002-08-11 10:01:20 UTC
Subject: Re: [SAdev]  New and improved WINNER Rules



Tony L. Svanstrom wrote:
On Sun, 11 Aug 2002 the voices made bugzilla-daemon@hughes-family.org write:


http://www.hughes-family.org/bugzilla/show_bug.cgi?id=685


body WINNER                     /\b(?:you.{0,4} a|lucky|big|next)
winner\b|winner!|(?-i:WINNER)/i


If winner is lower case then it has to be combined with "lucky,big,etc". But if 
it's all caps or has an ! after it then winner by itself matches.

 > The extra winner parts doesn't make any sense to me, winner\b is enough.


body YOU_WON                    /\byou(?:'ve| have)? won(?!'|\w)/i


 > We got this one right close to two weeks ago, wasn't it submitted then?


Yes - it didn't change. I gathered up all the winner rules and tested and 
modified them together. That one stayed the same.



Comment 3 Craig Hughes 2002-08-23 03:30:30 UTC

*** This bug has been marked as a duplicate of 710 ***