You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by da...@apache.org on 2017/06/13 12:36:49 UTC
svn commit: r1798589 -
/spamassassin/trunk/masses/rule-update-score-gen/generate-new-scores.sh
Author: davej
Date: Tue Jun 13 12:36:49 2017
New Revision: 1798589
URL: http://svn.apache.org/viewvc?rev=1798589&view=rev
Log:
Added more output of what is happening before ham/spam count from usable corpus.
Modified:
spamassassin/trunk/masses/rule-update-score-gen/generate-new-scores.sh
Modified: spamassassin/trunk/masses/rule-update-score-gen/generate-new-scores.sh
URL: http://svn.apache.org/viewvc/spamassassin/trunk/masses/rule-update-score-gen/generate-new-scores.sh?rev=1798589&r1=1798588&r2=1798589&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-update-score-gen/generate-new-scores.sh (original)
+++ spamassassin/trunk/masses/rule-update-score-gen/generate-new-scores.sh Tue Jun 13 12:36:49 2017
@@ -204,9 +204,12 @@ mv -f rules/72_active.cf-scoreless rules
date
echo "[ running log-grep-recent ]"
+pwd
# only use recent spam to generate scores; use a lot of ham history to avoid FPs - Increases Ham to 84 months on 8/8/2012 to try and get a masscheck out the door.
+echo -e "\nmasses/log-grep-recent -m $HAMHISTORY ../corpus/usable-corpus-set$SCORESET/ham-*.log > masses/ham-full.log"
masses/log-grep-recent -m $HAMHISTORY ../corpus/usable-corpus-set$SCORESET/ham-*.log > masses/ham-full.log
+echo -e "\nmasses/log-grep-recent -m $SPAMHISTORY ../corpus/usable-corpus-set$SCORESET/spam-*.log > masses/spam-full.log"
masses/log-grep-recent -m $SPAMHISTORY ../corpus/usable-corpus-set$SCORESET/spam-*.log > masses/spam-full.log
# make sure that we have enough mass-check results to actually generate reasonable scores