On 09/15/2017 09:52 AM, Merijn van den Kroonenberg wrote:
On Sep 15, 2017, at 9:46 AM, David Jones <djo...@ena.com> wrote:
3. I have narrowed down the problem to the general area of a perl
Makefile which builds a custom garescorer.c file which does some
statistical analysis to determine the best score for rules in the
72_scores.cf.  These 72_scores.cf are excluded from 50_scores.cf (static
scores) and are currently incomplete making these rules default to 1.0.
Most of theses missing rules should be much higher than 1.0 causing SA
to allow spam through on most installations that don't have an optimized
MTA in front of SA.

https://wiki.apache.org/spamassassin/InfraNotes2017#mkupdates

~/svn/trunk/build/mkupdates/mkupdate-with-scores

     masses -> perl Makefile.PL && make (complete build of SA and test)
         - perl hit-frequencies
         - garescorer - compiles and runs it, requires build/pga
                 <--- THE PROBLEM IS NEAR HERE

where are hit-frequencies and garescorer?

Seems its here:
http://svn.apache.org/repos/asf/spamassassin/trunk/masses/

Not sure where its tied in tho.


I think the problem is somewhere behind line 127 and 128 which does many
things/steps:

line 127 and 128 of mkupdate-withscores? (that just looks like it's
building a version of SpamAssassin from trunk svn? maybe you are referring
to something else?)



1. Actually start here with the runGA call:

http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-update-score-gen/generate-new-scores.sh?revision=1798589&view=markup#l271


2. Here is the runGA script (not changed in almost 8 years):

http://svn.apache.org/viewvc/spamassassin/trunk/masses/runGA?view=log


3. Somewhere in the bottom of the runGA script there is a problem generating a complete scores-set0 which becomes the 72_scores.cf:

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


4. This shows the resulting different in the last good 72_scores.cf and the latest version:

http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/scores/72_scores.cf?r1=1786976&r2=1808406


You kinda have to work backwards through the scripts to find what is generating the scores-set0 file and turning it into 72_scores.cf. I am grep'ing through the work dir on the SA server now but it contains a lot of files. I need to find the large dirs and exclude them.

--
Daniel J. Luke








--
David Jones

Reply via email to