From 22fcc93e88c155e23eea63b6508b2b2f00ca4582 Mon Sep 17 00:00:00 2001 From: teranisi Date: Sat, 11 Dec 2004 08:50:16 +0000 Subject: [PATCH] Updates courtesy of Daishi Kato. --- doc/wl-ja.texi | 50 +++++++++++++++++++++++++++++++++++++++++++++++++- doc/wl.texi | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 95 insertions(+), 2 deletions(-) diff --git a/doc/wl-ja.texi b/doc/wl-ja.texi index dc44c79..b1f2801 100644 --- a/doc/wl-ja.texi +++ b/doc/wl-ja.texi @@ -7020,6 +7020,7 @@ spam 判定に対して無効なフォルダを、フォルダ名の正規表現のリストで指定し * spamfilter:: spamfilter.el * bsfilter:: bsfilter * SpamAssassin:: SpamAssassin +* SpamOracle:: SpamOracle * Regular Expressions Header Matching:: 正規表現によるヘッダ検査 @end menu @@ -7161,7 +7162,7 @@ bsfilter を起動するシェルに与える引数を指定します。 @end table -@node SpamAssassin, Regular Expressions Header Matching, bsfilter, Spam Filter Processors +@node SpamAssassin, SpamOracle, bsfilter, Spam Filter Processors @subsection SpamAssassin @cindex SpamAssassin @@ -7218,6 +7219,53 @@ SpamAssassin の学習用プログラム @command{sa-learn} 実行時に与える @end table +@node SpamOracle, Regular Expressions Header Matching, SpamAssassin, Spam Filter Processors +@subsection SpamOracle +@cindex SpamOracle + +SpamOracle (`http://pauillac.inria.fr/~xleroy/software.html#spamoracle') +は、Objective Caml で実装された spam フィルタです. + +@file{SpamOracle} を使用するには、@file{~/.wl}などに以下の設定を記述します。 +(もちろん、あらかじめ SpamOracle がインストールされ、正常に動作することを +確認してください) + +@lisp +@group +(setq elmo-spam-scheme 'spamoracle) +@end group +@end lisp + +@subsubsection カスタマイズ変数 + +@table @code +@item elmo-spam-spamoracle-program +@vindex elmo-spam-spamoracle-program +初期設定は @file{spamoracle}。 +@command{spamoracle} の実行ファイルの名前を設定します。実行ファイルが、 +環境変数 @env{PATH} 上にない場合は、フルパスを設定する必要があります。 + +@item elmo-spam-spamoracle-config-filename +@vindex elmo-spam-spamoracle-config-filename +初期設定は @code{nil}。 +@command{spamoracle} の設定ファイルを指定します. +@code{nil} を指定すると、デフォルトの設定ファイル +(@file{~/.spamoracle.conf})が使用されます。 + +@item elmo-spam-spamoracle-database-filename +@vindex elmo-spam-spamoracle-database-filename +初期設定は @file{~/.elmo/.spamoracle.db}。 +@command{spamoracle} で使用するデータベースファイルのパスを指定します。 + +@item elmo-spam-spamoracle-spam-header-regexp +@vindex elmo-spam-spamoracle-spam-header-regexp +初期設定は @code{"^X-Spam: yes;"}。 +spam メールであることを示すヘッダの正規表現を指定します。 +@command{spamoracle} の設定ファイル内で、 @code{spam_header} パラメータの +設定を変更した場合は、この変数の値を設定してください。 + +@end table + @node Regular Expressions Header Matching, , SpamAssassin, Spam Filter Processors @subsection Regular Expressions Header Matching @cindex Regular Expressions Header Matching diff --git a/doc/wl.texi b/doc/wl.texi index 45a9c8e..c39f493 100644 --- a/doc/wl.texi +++ b/doc/wl.texi @@ -7050,6 +7050,7 @@ Supported spam filtering libraries are following ones. * spamfilter:: spamfilter.el * bsfilter:: bsfilter * SpamAssassin:: SpamAssassin +* SpamOracle:: SpamOracle * Regular Expressions Header Matching:: Header regexp @end menu @@ -7196,7 +7197,7 @@ Specify options to give to @command{bsfilter} for learning messages. @end table -@node SpamAssassin, Regular Expressions Header Matching, bsfilter, Spam Filter Processors +@node SpamAssassin, SpamOracle, bsfilter, Spam Filter Processors @subsection SpamAssassin @cindex SpamAssassin @@ -7254,6 +7255,50 @@ stored in the buffer named @code{"*Debug ELMO SpamAssassin*"}. @end table +@node SpamOracle, Regular Expressions Header Matching, SpamAssassin, Spam Filter Processors +@subsection SpamOracle +@cindex SpamOracle + +SpamOracle (`http://pauillac.inria.fr/~xleroy/software.html#spamoracle') +is a spam filter implemented by Objective Caml language. + +To use spam filter with @file{spamoracle}, write following setting in +@file{~/.wl} or somewhere else. +(Of course, you have to install SpamOracle beforehand.) + +@lisp +@group +(setq elmo-spam-scheme 'spamoracle) +@end group +@end lisp + +@subsubsection Customizable Variables + +@table @code +@item elmo-spam-spamoracle-program +@vindex elmo-spam-spamoracle-program +The initial setting is @file{spamoracle}. Specify the name of +executable of spamoracle. If the executable is not in your +environmental variable @env{PATH}, you should set this by full path. + +@item elmo-spam-spamoracle-config-filename +@vindex elmo-spam-spamoracle-config-filename +Specify the name of config file. @code{nil} to use default file +(@file{~/.spamoracle.conf}). The initial setting is @code{nil}. + +@item elmo-spam-spamoracle-database-filename +@vindex elmo-spam-spamoracle-database-filename +The initial setting is @file{~/.elmo/.spamoracle.db}. +It specifies the name of database file. + +@item elmo-spam-spamoracle-spam-header-regexp +@vindex elmo-spam-spamoracle-spam-header-regexp +The initial setting is @code{"^X-Spam: yes;"}. It specifies the regular +expression of the header that indicates spam mail. Use this setting +when you change the @code{spam_header} parameter in the config file. + +@end table + @node Regular Expressions Header Matching, , SpamAssassin, Spam Filter Processors @subsection Regular Expressions Header Matching @cindex Regular Expressions Header Matching -- 1.7.10.4