Script for under limit for masscheck

2018-08-23 Thread Kevin A. McGrail
Dave, can you take a look at this script?

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7121

-- 
Kevin A. McGrail
Asst. Treasurer & VP Fundraising, Apache Software Foundation
Chair Emeritus Apache SpamAssassin Project



Cron ~/svn/trunk/build/mkupdates/run_nightly | /usr/bin/tee /var/www/automc.spamassassin.org/mkupdates/mkupdates.txt

2018-08-23 Thread Cron Daemon
+ promote_active_rules
+ pwd
/usr/local/spamassassin/automc/svn/trunk
+ /usr/bin/perl build/mkupdates/listpromotable
HTTP get: http://ruleqa.spamassassin.org/1-days-ago?xml=1
HTTP get: http://ruleqa.spamassassin.org/2-days-ago?xml=1
HTTP get: http://ruleqa.spamassassin.org/3-days-ago?xml=1
+ mv rules/active.list.new rules/active.list
+ svn diff rules
+ cat /var/www/ruleqa.spamassassin.org/reports/LATEST
Index: rules/active.list
===
--- rules/active.list   (revision 1838614)
+++ rules/active.list   (working copy)
@@ -1,5 +1,5 @@
 # active ruleset list, automatically generated from 
http://ruleqa.spamassassin.org/
-# with results from: day 1: axb-coi-bulk axb-generic axb-ham-misc axb-ninja 
darxus ena-week0 ena-week1 ena-week2 ena-week3 ena-week4 giovanni grenier jarif 
jbrooks mmiroslaw-mails-ham mmiroslaw-mails-spam sihde thendrikx; day 2: 
axb-coi-bulk axb-generic axb-ham-misc axb-ninja ena-week0 ena-week1 ena-week2 
ena-week3 ena-week4 llanga mmiroslaw-mails-ham mmiroslaw-mails-spam sihde; day 
3: ena-week0 ena-week1 ena-week2 ena-week3 ena-week4 llanga mmiroslaw-mails-ham 
mmiroslaw-mails-spam sihde
+# with results from: day 1: darxus ena-week0 ena-week1 ena-week2 ena-week3 
ena-week4 giovanni grenier jarif jbrooks mmiroslaw-mails-ham 
mmiroslaw-mails-spam sihde thendrikx; day 2: axb-coi-bulk axb-generic 
axb-ham-misc axb-ninja llanga; day 3: axb-coi-bulk axb-generic axb-ham-misc 
axb-ninja ena-week0 ena-week1 ena-week2 ena-week3 ena-week4 llanga 
mmiroslaw-mails-ham mmiroslaw-mails-spam sihde
 
 # tflags publish
 AC_BR_BONANZA
@@ -67,6 +67,9 @@
 # tflags userconf
 ALL_TRUSTED
 
+# good enough
+APOSTROPHE_FROM
+
 # tflags publish
 APP_DEVELOPMENT_FREEM
 
@@ -379,6 +382,9 @@
 # tflags userconf
 HASHCASH_HIGH
 
+# good enough
+HDRS_MISSP
+
 # tflags publish
 HDR_ORDER_FTSDMCXX_DIRECT
 
@@ -401,6 +407,9 @@
 HEXHASH_WORD
 
 # good enough
+HK_NAME_FM_DR
+
+# good enough
 HK_NAME_FM_MR_MRS
 
 # good enough
@@ -752,6 +761,9 @@
 RDNS_NUM_TLD_XM
 
 # good enough
+REPLYTO_WITHOUT_TO_CC
+
+# good enough
 SERGIO_SUBJECT_PORN011
 
 # good enough
@@ -865,64 +877,25 @@
 # good enough
 TVD_SPACE_ENCODED
 
-# good enough
-TVD_VISIT_PHARMA
-
 # tflags publish
 TW_GIBBERISH_MANY
 
 # good enough
-ADMITS_SPAM
+ADVANCE_FEE_4_NEW_FRM_MNY
 
 # good enough
-ADVANCE_FEE_3_NEW_FRM_MNY
+ADVANCE_FEE_4_NEW_MONEY
 
 # good enough
-ADVANCE_FEE_5_NEW_FRM_MNY
+ADVANCE_FEE_5_NEW
 
 # good enough
-AXB_XMAILER_MIMEOLE_OL_1ECD5
+FILL_THIS_FORM_LOAN
 
 # good enough
-BIGNUM_EMAILS
+XFER_LOTSA_MONEY
 
-# good enough
-DATE_IN_FUTURE_96_Q
-
-# good enough
-DEAR_BENEFICIARY
-
-# good enough
-FILL_THIS_FORM_LONG
-
-# good enough
-FROM_MISSP_DYNIP
-
-# good enough
-FROM_MISSP_TO_UNDISC
-
-# good enough
-HDRS_MISSP
-
-# good enough
-HK_NAME_FM_DR
-
-# good enough
-LOTTO_AGENT
-
-# good enough
-MONEY_ATM_CARD
-
-# good enough
-NSL_RCVD_HELO_USER
-
-# good enough
-SERGIO_SUBJECT_VIAGRA01
-
 # tflags publish
-USB_DRIVES
-
-# tflags publish
 UC_GIBBERISH_OBFU
 
 # good enough
@@ -1045,6 +1018,9 @@
 # tflags publish
 URI_WP_HACKED_2
 
+# tflags publish
+USB_DRIVES
+
 # tflags userconf
 USER_IN_ALL_SPAM_TO
 
+ echo 'Committing promotions in rules/active.list...'
Committing promotions in rules/active.list...
+ svn commit -m 'promotions validated' rules/active.list
Sendingrules/active.list
Transmitting file data .done
Committing transaction...
Committed revision 1838695.
+ /usr/bin/perl masses/rule-qa/list-bad-rules
++ date +%w
+ [[ 4 = 3 ]]
+ for VER in '$VERSIONS'
+ make_tarball_for_version 3.4.2
+ version=3.4.2
+ tmpdir=/usr/local/spamassassin/automc/tmp/stage/3.4.2
+ rm -rf /usr/local/spamassassin/automc/tmp/stage/3.4.2
+ mkdir -p /usr/local/spamassassin/automc/tmp/stage/3.4.2
+ make clean
rm -f \
  SpamAssassin.bso SpamAssassin.def \
  SpamAssassin.exp SpamAssassin.x \
   blib/arch/auto/Mail/SpamAssassin/extralibs.all \
  blib/arch/auto/Mail/SpamAssassin/extralibs.ld Makefile.aperl \
  *.a *.o \
  *perl.core MYMETA.json \
  MYMETA.yml blibdirs.ts \
  core core.*perl.*.? \
  core.[0-9] core.[0-9][0-9] \
  core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \
  core.[0-9][0-9][0-9][0-9][0-9] libSpamAssassin.def \
  mon.out perl \
  perl perl.exe \
  perlmain.c pm_to_blib \
  pm_to_blib.ts so_locations \
  tmon.out 
rm -rf \
  *.cache blib \
  doc pod2htm* \
  qmail rules/*.pm \
  rules/70_inactive.cf sa-awl \
  sa-check_spamd sa-compile \
  sa-learn sa-update \
  spamassassin spamc/*.cache \
  spamc/*.o* spamc/*.so \
  spamc/Makefile spamc/config.h \
  spamc/config.log spamc/config.status \
  spamc/qmail-spamc spamc/replace/*.o* \
  spamc/spamc spamc/spamc.h \
  spamc/version.h spamd/*spamc* \
  spamd/spamd t/bayessql.cf \
  t/do_net t/log \
  t/sql_based_whitelist.cf version.env 
mv Makefile Makefile.old > /dev/null 2>&1
+ /usr/bin/perl Makefile.PL 
PREFIX=/usr/local/spamassassin/automc/tmp/stage/3.4.2
What email address or URL should be used in the suspected-spam report
text for