On Mon, 21 Mar 2011, Daryl C. W. O'Shea wrote:

On 21/03/2011 10:39 PM, Daryl C. W. O'Shea wrote:
 On 21/03/2011 10:34 PM, John Hardin wrote:
>  On Mon, 21 Mar 2011, Daryl C. W. O'Shea wrote:
> > > We're back above the corpus thresholds for nightly sa-update updates.
> >  Yay!
> > And the update that just went out still contains the PILL_PRICE rules... > > Maybe tomorrow. Dang.

 No, it'll take a week, I think. A side-effect of only doing net-enabled
 checks once a week... I think it uses the rules from the oldest version,
 but I can't remember without looking.

Actually... I can't find any sign of PILL_PRICE in the latest update. Are you sure there's still an issue with it?

Here's what I did:
jhardin@dendarii ~/develop/spamassassin/sa-updates $ dig +short TXT 
2.3.3.updates.spamassassin.org
"1083377"
jhardin@dendarii ~/develop/spamassassin/sa-updates $ wget 
http://buildbot.spamassassin.org.nyud.net:8090/updatestage/1083377.tar.gz
jhardin@dendarii ~/develop/spamassassin/sa-updates $ tar zxvf 1083377.tar.gz 
72_active.cf
72_active.cf
jhardin@dendarii ~/develop/spamassassin/sa-updates $ grep PILL 72_active.cf
##{ MANY_PILL_PRICE
meta MANY_PILL_PRICE (__PILL_PRICE_1 + __PILL_PRICE_2 + __PILL_PRICE_3) > 2
describe    MANY_PILL_PRICE        Prices for pills
##} MANY_PILL_PRICE
body __PILL_PRICE_1 m;\$?[\d\s.]{3,8}(?:/|per|each)\s?(?:pill|tablet|cap(?:sule|let));i
tflags      __PILL_PRICE_1         multiple
body __PILL_PRICE_2 /(?:pill|tablet|cap(?:sule|let))s\s\$?[\d\s.]{3,8}/i
tflags      __PILL_PRICE_2         multiple
body __PILL_PRICE_3 /free\s(?:pill|tablet|cap(?:sule|let))s/i
tflags      __PILL_PRICE_3         multiple


If I did that wrong I'll be happy to say "d'oh!".

I think the actual logic is that it uses the newest set of rules and that scores generated for the "older set" (that is, the net set after a non-net mass-check night, and vice-versa) are pruned of any rules that are no longer in the current set.

So... I'm not going to worry about pushing an update now. Doesn't look like there's a need for one.

Daryl


--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 [email protected]    FALaholic #11174     pgpk -a [email protected]
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  If someone has a gun and is trying to kill you, it would be
  reasonable to shoot back with your own gun.
                                      -- the Dalai Lama, May 15, 2001
-----------------------------------------------------------------------
 8 days until the M1911 is 100 years old - and still going strong!

Reply via email to