Learnspam update - September 25, 2006
Learnspam now uses two timestamp
files (in
~/.spamassassin/) to keep track of when it last
processed your ham and spam, and will not reprocess a mailbox that has
not been modified since the last run. Therefore, if you have a ham
mailbox - or a spam mailbox that doesn't get automoved - that is big
and that you're adding messages to, it makes sense to occasionally save
the older messages to a secondary file. For example, if you have a
large mailbox named
saved-messages used for ham processing,
then the older messages could occasionally be saved to
saved-messages-old. This would greatly speed up runs of
BSF
training, including the automatic system runs.
There have
also been some option changes:
% learnspam -h
learnspam: Automatically manage SpamAssassin Bayesian filter training.
Usage: learnspam [-amqv] [--dots] [--ho|--so]
learnspam -h
-a all: use all ham and/or spam, instead of just mailboxes
modified since last run;
-h help: print help message and exit;
-m move: do spam file moves before filter training;
-q quiet: fewer messages;
-v verbose: more messages;
--ho train with ham only;
--so train with spam only;
--dots show dots while processing ham and spam;
Note: The first time this is run, it must be run interactively, and the
configuration file will be created.
Please contact the Lab Staff if you have any
questions or problems.