On Wed, 23 Dec 2015, Alex wrote:
How can I pull the previous updates to see if it's related to the
changes on the 21st?
Here's a Q'n'D script to pull the latest update:
#!/bin/bash
# $ dig +short TXT 0.4.3.updates.spamassassin.org
# 2.3.3.updates.spamassassin.org.
# "1714950"
# $ wget http://buildbot.spamassassin.org/updatestage/1714950.tar.gz
REV=`dig +short TXT 0.4.3.updates.spamassassin.org | tail -1 | sed -e 's/"//g'`
echo ${REV}
if [ -d "${REV}" ]
then
echo "You are up-to-date."
else
wget "http://buildbot.spamassassin.org/updatestage/${REV}.tar.gz"
mkdir "${REV}"
cd "${REV}"
tar zxvf "../${REV}.tar.gz"
fi
Unfortunately http://buildbot.spamassassin.org/updatestage/ is "smart" and
does not let you browse the directory for historical updates. If you check
your sa-update logs you may be able to retrieve the revision numbers; you
can also visit the RuleQA website at http://ruleqa.spamassassin.org/ and
check the revision numbers the masscheck ran on, but be aware not all
masscheck passes result in new rules.
At the moment, the latest update is rev 1720996, which was the 12/20
masscheck run. The 1721105 and 1721316 masschecks were spam-starved and
did not result in a new update.
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
"Bother," said Pooh as he struggled with /etc/sendmail.cf, "it never
does quite what I want. I wish Christopher Robin was here."
-- Peter da Silva in a.s.r
-----------------------------------------------------------------------
2 days until Christmas