summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-09-30 11:01:25 +0000
committerfukachan <fukachan>2002-09-30 11:01:25 +0000
commit54f080ca0e31b8c22d2f6f8c795342d25e97f8af (patch)
treedbe81c9a372cd60c852aa6cae4416f4a3794a664 /fml
parent9ec4f4745ead4e8b4862f4839ca4587686a77031 (diff)
downloadfml8-54f080ca0e31b8c22d2f6f8c795342d25e97f8af.tar.gz
fml8-54f080ca0e31b8c22d2f6f8c795342d25e97f8af.tar.bz2
fml8-54f080ca0e31b8c22d2f6f8c795342d25e97f8af.zip
reconstruct filter system
Diffstat (limited to 'fml')
-rw-r--r--fml/etc/default_config.cf.ja.in144
1 files changed, 105 insertions, 39 deletions
diff --git a/fml/etc/default_config.cf.ja.in b/fml/etc/default_config.cf.ja.in
index b6038334..2341f4d2 100644
--- a/fml/etc/default_config.cf.ja.in
+++ b/fml/etc/default_config.cf.ja.in
@@ -604,21 +604,6 @@ objective_file = $ml_home_dir/objective
=head1 ヘッダの操作
-# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか?
-# History:
-# Value: yes / no
-# Examples:
-use_article_header_filter = yes
-
-
-# Descriptions: フィルタリングのルール。
-# どのルールにもマッチしないなら、記事の投稿は認められる。
-# History:
-# Value:
-# Examples:
-article_header_filter_rules = check_message_id
- permit
-
# Descriptions: ヘッダ情報を根拠にしたループチェックをするか?
# History:
@@ -706,29 +691,6 @@ x_ml_name = $ml_name
=head1 メール本文(ボディ)への操作
-# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか?
-# History:
-# Value: yes / no
-# Examples:
-use_article_body_filter = yes
-
-
-# Descriptions: フィルタリングのルール、
-# 正確には弾くべき特別なもののルール(マッチしいないなら通す)
-# History:
-# Note: permit by default
-# Value:
-# Examples:
-article_body_filter_rules = reject_not_iso2022jp_japanese_string
- reject_null_mail_body
- reject_one_line_message
- reject_old_fml_command_syntax
- reject_invalid_fml_command_syntax
- reject_japanese_command_syntax
- reject_ms_guid
- permit
-
-
# Descriptions: ヘッダ情報を根拠にしたループチェックをするか?
# History:
# Value: yes / no
@@ -819,12 +781,116 @@ log_dir = $var_dir/log
=head2 プロセス
-# Descriptions: 配送処理プログラムをそもそも使うか?
+# Descriptions: 記事の配送処理プログラムをそもそも使うか?
# History: なし
# Value: yes
# Examples: yes / no
use_distribute_program = yes
+
+
+=head1 記事の処理
+
+
+=head2 フィルタ
+
+
+# Descriptions:
+# History:
+# Value:
+# Examples:
+use_article_filter = yes
+
+
+# Descriptions:
+# History:
+# Value:
+# Examples:
+article_filter_functions = article_header_filter
+ article_non_mime_filter
+ article_mime_component_filter
+ article_text_plain_filter
+
+
+=head2 ヘッダ情報ベースのフィルタ
+
+
+# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_article_header_filter = yes
+
+
+# Descriptions: フィルタリングのルール。
+# どのルールにもマッチしないなら、記事の投稿は認められる。
+# History:
+# Value:
+# Examples:
+article_header_filter_rules = check_message_id
+ permit
+
+
+=head2 MIME 情報ベースのフィルタ
+
+
+# Descriptions: とりあえず、だみ〜
+# History: 4.0 の content filter で、!MIME にあたる部分
+# Value: yes / no
+# Examples:
+use_article_non_mime_filter = yes
+
+
+# Descriptions: とりあえず、だみ〜
+# History:
+# Value: permit / reject
+# Examples: permit
+article_non_mime_filter_rules = permit
+
+
+# Descriptions: MIME の構造に基づいたフィルタを行なう
+# History: 4.0 の content filter 相当
+# Value: yes / no
+# Examples:
+use_article_mime_component_filter = yes
+
+
+# Descriptions: ファイル名
+# History: 4.0 の @CONTENT_HANDLER 相当
+# Value:
+# Examples:
+article_mime_component_filter_rules = $fml_config_dir/mime_component_filter
+
+
+
+=head2 テキスト部分に対するフィルタ
+
+
+# Descriptions: 先頭の text/plain 部分に対するフィルタ。
+# 簡単なシンタックスチェック
+# History: 4.0 の EnvelopeFilter 相当
+# Value: yes / no
+# Examples:
+use_article_text_plain_filter = yes
+
+
+# Descriptions: テキスト部分へのフィルタリングのルール。
+# 正確には弾くべき特別なもののルール(マッチしないなら通す)
+# History:
+# Note: permit by default
+# Value:
+# Examples:
+article_text_plain_filter_rules = reject_not_iso2022jp_japanese_string
+ reject_null_mail_body
+ reject_one_line_message
+ reject_old_fml_command_syntax
+ reject_invalid_fml_command_syntax
+ reject_japanese_command_syntax
+ reject_ms_guid
+ permit
+
+
+
=head1 記事および記事のスプール
# Descriptions: 記事を配送する機能を使うか否か?