Scroll to navigation

SB_MBOXTRAIN(1) User Commands SB_MBOXTRAIN(1)

NAME

sb_mboxtrain - Train spambayes on all previously-untrained messages in a mailbox.

SYNOPSIS

sb_mboxtrain [OPTIONS] ...

DESCRIPTION

Usage: /usr/bin/sb_mboxtrain [OPTIONS] ...

Where OPTIONS is one or more of:

-h

show usage and exit

-d DBNAME

A DBM file is larger than the pickle and
creating it is slower, but loading it is much faster, especially for large word databases. Recommended for use with sb_filter or any procmail-based filter.

-p DBNAME

A pickle is smaller and faster to create,
Recommended for use with sb_server and
sb_xmlrpcserver.

-g PATH

mbox or directory of known good messages (non-spam) to train on. Can be specified more than once.

-s PATH

mbox or directory of known spam messages to train on. Can be specified more than once.

-f

Use this if you
need to rebuild your database from scratch.

-q

quiet mode; no output
train mail residing in "new" directory, in addition to "cur" directory, which is always trained (Maildir only)
remove mail which was trained on (Maildir only)

-o section:option:value

set [section, option] in the options database to value

SEE ALSO

The full documentation for option is maintained as a Texinfo manual. If the info and option programs are properly installed at your site, the command

info option

should give you access to the complete manual.

June 2014 sb_mboxtrain