| --ham | スパムではないメールを学習させる |
| --spam | スパムを学習させる |
| --forget | (多分)登録したメール(スパムだとかそうじゃないとか)を消去させるんだと思う。(スパム登録をしていたけれど、forgetさせて、何もなかったことにする、みたいな) |
| --use-ignores | bayes_ignore_from とbayes_ignore_to を使う、とあるのだがこのファイルがどこにあるのかまだ見つける事が出来ない。。。ふむふむ、マニュアルと読むとbayes_ignore_from とbayes_ignore_toにあるアドレスにマッチしたら、メール登録をしないとある(本当か!?) |
| --sync | (必要があれば)DBとジャーナル(ログだよね??)と同調させる(要確認) |
| --force-expire | Force a database sync and expiry run |
| --dbpath <path> | /etc/spamassassin/local.cfに書いてあるbayes_pathを一時的に変更出来る。普通はbayes_path /etc/mail/spamassassin/bayes/bayesとしてある |
| --dump [all/data/magic] | Display the contents of the Bayes database Takes optional argument for what to display |
| --regexp <re> | For dump only, specifies which tokens to dump based on a regular expression. |
| -f file, --folders=file/Read | list of files/directories from file |
| --dir | ignored, historical compatability |
| --file | ignored, historical compatability |
| --mbox | Input sources are in mbox format |
| --mbx | Input sources are in mbx format |
| --showdots | Show progress using dots |
| --progress | Show progress using progress bar |
| --no-sync | Skip syncronizing the database and journal after learning |
| -L, --local | Operate locally, no network accesses |
| --import | Migrate data from older version/non DB_File based databases |
| --clear | Wipe out existing database |
| --backup | Backup, to STDOUT, existing database |
| --restore <filename> | ファイルからDBの再構築 |
| -u username, --username=username | Override username taken from the runtime environment |
| -C path, --configpath=path, --config-file=path | 標準の設定ディレクトリのパスを指定 |
| -p prefs, --prefspath=file, --prefs-file=file | ユーザー個別の設定を指定(通常:$HOME/.spamassassin/user_prefs) |
| --siteconfigpath=path | サイト設定パスを指定(ディフォルト: /etc/mail/spamassassin) |
| -D, --debug-level | debugのメッセージを表示、とあるが私の所では出なかった(-hと同じ状態になった)不思議 |
| -V, --version | spamassassinのバージョンを表示(こんな感じに→SpamAssassin version 3.0.3) |
| -h, --help | オプションやコマンドの使い方の一覧 |