pushDNStoSVN.sh on sa-vm.apache.org - 1 DNS zone updated

2022-09-10 Thread root


spamassassin.org:
pdnsutil list-zone spamassassin.org
OK (use 'load-zone spamassassin.org FILE' to restore)
svn status /usr/local/spamassassin/automc/svn/dns
M   /usr/local/spamassassin/automc/svn/dns/spamassassin.org
OK
svn commit -m 'DNS updates' /usr/local/spamassassin/automc/svn/dns
Sendingsvn/dns/spamassassin.org
Transmitting file data .done
Committing transaction...
Committed revision 1903987.


Possible to have a cron job to fix bug 8041?

2022-09-10 Thread Sidney Markowitz

I just opened
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8041

The issue is that the test spam t/data/spam/pyzor is a real world spam 
that is on the public pyzor server, but the server is apparently 
configured to expire spam reports. I'm guessing it has a one year expiry 
given that Giovanni had to update the test with a new spam about a year 
ago, and t/pyzor.t just started failing.


I ran

  pyzor report < t/data/spam/pyzor

and all was well again.

Is it reasonable for to put a cron job on one of our infrastructor 
machines that, perhaps once a month, or some other convenient interval, 
runs the pyzor report command to ensure that the test spam doesn't 
expire? Extra points for running pyzor check < t/data/spam/pyzor before 
and after the report to confirm that the report worked and incremented 
the count, but that is less important.


What do you all think about that?

 Sidney


Cron /usr/local/spamassassin/automc/svn/trunk/build/mkupdates/run_nightly 2>&1 | tee /var/www/automc.spamassassin.org/mkupdates/mkupdates.txt

2022-09-10 Thread Cron Daemon
+ promote_active_rules
+ pwd
/usr/local/spamassassin/automc/svn/trunk
+ svn co https://svn.apache.org/repos/asf/spamassassin/trunk/rules 
https://svn.apache.org/repos/asf/spamassassin/trunk/rulesrc
Checked out revision 1903959.
Checked out revision 1903959.
+ /usr/bin/perl build/mkupdates/listpromotable
HTTP get: https://ruleqa.spamassassin.org/last-net?xml=1
HTTP get: https://ruleqa.spamassassin.org/1-days-ago?xml=1
HTTP get: https://ruleqa.spamassassin.org/2-days-ago?xml=1
HTTP get: https://ruleqa.spamassassin.org/3-days-ago?xml=1
HTTP get: https://ruleqa.spamassassin.org/4-days-ago?xml=1
HTTP get: https://ruleqa.spamassassin.org/5-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 1903959)
+++ rules/active.list   (working copy)
@@ -110,6 +110,9 @@
 # tflags publish
 AMAZON_IMG_NOT_RCVD_AMZN
 
+# good enough
+APOSTROPHE_TOCC
+
 # tflags publish
 APP_DEVELOPMENT_FREEM
 
@@ -129,9 +132,6 @@
 AXB_XMAILER_MIMEOLE_OL_024C2
 
 # good enough
-AXB_XMAILER_MIMEOLE_OL_1ECD5
-
-# good enough
 AXB_X_FF_SEZ_S
 
 # tflags learn
@@ -191,7 +191,7 @@
 # good enough
 BITCOIN_MALF_HTML
 
-# tflags publish
+# tflags net
 BITCOIN_MALWARE
 
 # tflags publish
@@ -293,9 +293,6 @@
 # tflags publish
 COMMENT_GIBBERISH
 
-# tflags net
-COMPENSATION
-
 # tflags publish
 CONTENT_AFTER_HTML
 
@@ -470,7 +467,7 @@
 # tflags publish
 FORM_FRAUD
 
-# tflags net
+# tflags publish
 FORM_FRAUD_3
 
 # tflags publish
@@ -743,6 +740,9 @@
 # tflags publish
 HAS_X_OUTGOING_SPAM_STAT
 
+# tflags net
+HDRS_LCASE
+
 # good enough
 HDRS_LCASE_IMGONLY
 
@@ -1604,9 +1604,6 @@
 # tflags publish
 TO_NO_BRKTS_HTML_ONLY
 
-# tflags net
-TO_NO_BRKTS_MSFT
-
 # tflags publish
 TO_NO_BRKTS_NORDNS_HTML
 
@@ -1619,15 +1616,6 @@
 # good enough
 TVD_RCVD_SPACE_BRACKET
 
-# tflags net
-TVD_SPACE_ENCODED
-
-# tflags net
-TVD_SPACE_RATIO_MINFP
-
-# tflags net
-TVD_SUBJ_NUM_OBFU_MINFP
-
 # good enough
 TVD_VISIT_PHARMA
 
@@ -1799,7 +1787,7 @@
 # good enough
 URI_OBFU_DOM
 
-# tflags net
+# tflags publish
 URI_ONLY_MSGID_MALF
 
 # tflags publish
+ 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 1903960.
+ /usr/bin/perl masses/rule-qa/list-bad-rules
++ date +%w
+ [[ 6 = 3 ]]
+ set +x
-rw-r--r-- 1 automc automc 4777 May 25  2017 
/var/www/automc.spamassassin.org/updates/GPG.KEY
-rw-rw-r-- 1 automc automc 1161 Jul 27 06:15 
/var/www/automc.spamassassin.org/updates/MIRRORED.BY
-rw-r--r-- 1 automc automc 361407 Sep  7 02:46 
/var/www/automc.spamassassin.org/updates/1903894.tar.gz
-rw-r--r-- 1 automc automc 57 Sep  7 02:46 
/var/www/automc.spamassassin.org/updates/1903894.tar.gz.sha1
-rw-r--r-- 1 automc automc 81 Sep  7 02:46 
/var/www/automc.spamassassin.org/updates/1903894.tar.gz.sha256
-rw-r--r-- 1 automc automc145 Sep  7 02:46 
/var/www/automc.spamassassin.org/updates/1903894.tar.gz.sha512
-rw-r--r-- 1 automc automc833 Sep  7 02:46 
/var/www/automc.spamassassin.org/updates/1903894.tar.gz.asc
-rw-r--r-- 1 automc automc 354928 Sep  8 02:46 
/var/www/automc.spamassassin.org/updates/1903911.tar.gz
-rw-r--r-- 1 automc automc 57 Sep  8 02:46 
/var/www/automc.spamassassin.org/updates/1903911.tar.gz.sha1
-rw-r--r-- 1 automc automc 81 Sep  8 02:46 
/var/www/automc.spamassassin.org/updates/1903911.tar.gz.sha256
-rw-r--r-- 1 automc automc145 Sep  8 02:46 
/var/www/automc.spamassassin.org/updates/1903911.tar.gz.sha512
-rw-r--r-- 1 automc automc833 Sep  8 02:46 
/var/www/automc.spamassassin.org/updates/1903911.tar.gz.asc
-rw-r--r-- 1 automc automc 354405 Sep  9 02:47 
/var/www/automc.spamassassin.org/updates/1903927.tar.gz
-rw-r--r-- 1 automc automc 57 Sep  9 02:47 
/var/www/automc.spamassassin.org/updates/1903927.tar.gz.sha1
-rw-r--r-- 1 automc automc 81 Sep  9 02:47 
/var/www/automc.spamassassin.org/updates/1903927.tar.gz.sha256
-rw-r--r-- 1 automc automc145 Sep  9 02:47 
/var/www/automc.spamassassin.org/updates/1903927.tar.gz.sha512
-rw-r--r-- 1 automc automc833 Sep  9 02:47 
/var/www/automc.spamassassin.org/updates/1903927.tar.gz.asc
-rw-r--r-- 1 automc automc 355338 Sep 10 02:45 
/var/www/automc.spamassassin.org/updates/1903938.tar.gz
-rw-r--r-- 1 automc automc 57 Sep 10 02:45 
/var/www/automc.spamassassin.org/updates/1903938.tar.gz.sha1
-rw-r--r-- 1 automc automc 81 Sep 10 02:45 
/var/www/automc.spamassassin.org/updates/1903938.tar.gz.sha256
-rw-r--r-- 1 automc automc145 Sep 10 02:45 
/var/www/automc.spamassassin.org/updates/1903938.tar.gz.sha512
-rw-r--r-- 1 automc automc833 Sep 10 02:45 
/var/www/automc.spamassassin.org/updates/1903938.tar.gz.asc