Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: [Original edit by JustinMason]

...

No Format
  wget http://SpamAssassin.apache.org/released/Mail-SpamAssassin-3.0.0-pre2.tar.gz
  tar xvfz Mail-SpamAssassin-3.0.0-pre2.tar.gz
  cd Mail-SpamAssassin-3.0.0
  perl Makefile.PL < /dev/null; make

  cd masses
  mkdir spamassassin
  rm spamassassin/bayes*
  echo "use_bayes 0" > spamassassin/user_prefs
  echo "bayes_auto_learn 0" >> spamassassin/user_prefs
  rm ham.log spam.log

  ./mass-check --net -j 4 --restart=400 --all <targets>

<targets> is the list of directories, mboxes, etc., like
spam:dir:~/Mail/spam. See the comments at the top of "mass-check" for details.

This takes *ages* to run. If you see "out of memory" errors, you may want to try adding the --restart option. -j 4 controls the number of processes to use; 4 should be OK for a single-processor machine, since most of the time they'll be waiting for network results to arrive.

...