Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [Original edit by JustinMason] add note about nightly mass-checks on the buildbot machine

...

(The version of the tree available at rsync://rsync.spamassassin.org/tagged_builds/nightly_mass_check and .../weekly_mass_check already has this file included.)

An Easier Way

There is one; if you rsync up your corpus to the buildbot server, it can be mass-checked there instead. Unfortunately you have to share your mail corpus with whoever might have access to that machine.

Logs from the nightly mass-checks are visible at http://buildbot.spamassassin.org/bbmass/ .

(Administrivia: setting up a nightly mass-check user on buildbot.spamassassin.org)

For PMC members who want to set up a user for this; log in to the zone and run:

No Format

MCUSER=[username]
MCPWD=[random password]

sudo mkdir /home/bbmass/mc-nightly/$MCUSER
sudo chmod 1777 /home/bbmass/mc-nightly/$MCUSER
cd /home/bbmass/mc-nightly/$MCUSER

sed -e "s/MCUSER/$MCUSER/" -e "s/MCPWD/$MCPWD/" > .corpus
opts_weekly="--restart=500 --tail=15000 --net -j 8 -f /home/bbmass/mc-nightly/targets.MCUSER"
opts_nightly="--restart=500 --tail=15000 -f /home/bbmass/mc-nightly/targets.MCUSER"
tmp=$HOME/tmp
tree=$HOME/svn
prefs_weekly=$HOME/user_prefs.weekly
prefs_nightly=$HOME/user_prefs.nightly
username=bb-MCUSER
password=MCPWD

[CTRL-D to end cat]

mkdir tmp
svn co http://svn.apache.org/repos/asf/spamassassin/trunk svn
[accept certificate 'p'ermanently]

sudo chown -R bbmass .

In SVN trunk, edit build/automc/run_nightly, add their username to the list, check that file in.

Then in the zone, as the uid "automc", do this:

No Format

  cd /home/automc/svn/spamassassin
  svn up

so that that latest script is updated for when cron runs.