spamassassin-users November 2010 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: How to find out which rules have changed

Re: How to find out which rules have changed in the last <time>?

From: John Hardin <jhardin_at_nospam>
Date: Tue Nov 16 2010 - 14:33:04 GMT
To: spamassassin-users <users@spamassassin.apache.org>

On Mon, 15 Nov 2010, Kris Deugau wrote:

> I noticed recently that the average ~0.8s scan time on our filter
> cluster had jumped to just over 3s.

If you can duplicate this behavior on a manual scan of a test message,
there are debug flags and a timing plugin that will help troubleshoot
performance problems.

> Checking back in the logs shows this has happened within the past week
> and a half to two weeks.
>
> Where can I find out what changes have been made in the stock ruleset? I
> finally managed to find ruleqa.spamassassin.org, but there doesn't seem to be
> any way to get eg a diff from Nov 1 to Nov 2.

There's no single place to look; you have to dig around in svn:

   http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/

or diff the update files yourself.

sa-update cleans up after itself, so you'd have to download the older
update and then do a recursive diff locally.

You can go here for the log of sandbox generated score commits:

http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/scores/72_scores.cf?view=log

Pick the two revisions of interest, note the revision numbers _in the
comments_ (e.g. revision 1030355 for the Nov. 4 commit), and run this to
get the update tarball, substituting the revision number in the obvious
place:

wget http://buildbot.spamassassin.org.nyud.net:8090/updatestage/1030355.tar.gz

create subdirectories, untar in the subdirectories (the tarballs do not
provide any directory structure), and then do a recursive diff of the two
directories. Tools for doing the recursive diff are left as an exercise
for the student... :)

I don't know how long old updates are retained on the buildbot servers or
mirrors, but it does go back to at least April 2010.

-- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ jhardin@impsec.org FALaholic #11174 pgpk -a jhardin@impsec.org key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- Gun Control enables genocide while doing little to reduce crime. ----------------------------------------------------------------------- 31 days until TRON Legacy