You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2005/12/06 05:46:29 UTC

[Spamassassin Wiki] Update of "NightlyMassCheck" by JustinMason

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The following page has been changed by JustinMason:
http://wiki.apache.org/spamassassin/NightlyMassCheck

The comment on the change is:
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:
+ 
+ {{{
+ 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:
+ 
+ {{{
+   cd /home/automc/svn/spamassassin
+   svn up
+ }}}
+ 
+ so that that latest script is updated for when cron runs.
+