diff options
| author | fukachan <fukachan> | 2002-10-03 15:30:55 +0000 |
|---|---|---|
| committer | fukachan <fukachan> | 2002-10-03 15:30:55 +0000 |
| commit | 2dc1c1f84fc33b3a0558bda775bda5cb8cdc3f21 (patch) | |
| tree | f36dda07d5edc6a4c447d676cb429babf3e7e3bb | |
| parent | 2a8fd320c64e8136117ad6735be6275f6eed8d94 (diff) | |
| download | fml8-2dc1c1f84fc33b3a0558bda775bda5cb8cdc3f21.tar.gz fml8-2dc1c1f84fc33b3a0558bda775bda5cb8cdc3f21.tar.bz2 fml8-2dc1c1f84fc33b3a0558bda775bda5cb8cdc3f21.zip | |
filter status and todo
| -rw-r--r-- | fml/doc/ja/01_RFC_FILTER.txt | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/fml/doc/ja/01_RFC_FILTER.txt b/fml/doc/ja/01_RFC_FILTER.txt new file mode 100644 index 00000000..641f70b5 --- /dev/null +++ b/fml/doc/ja/01_RFC_FILTER.txt @@ -0,0 +1,86 @@ +X-Sequence: fml-devel 252 + +フィルタ + + header + + body + non-mime + permit / reject (4.0 の content filter の !MIME) + + mime component filter + 4.0 の content filter + + text/plain filter + ja, en, ... (言語依存) + 非言語依存パート (M$ GUID scanner みたいな) + + 先頭部分の text/plain パートに対する + シンタックスチェック + +本当はこれ以外に、外部の virus scanner なりに飛ばす迂回路が必要だと思 +うんだけど、それは考えてない。 +# とりあえず、それは postfix でやってくれぃと + + +○ TODO + +まだ、text/plain 部分は言語依存パートになってない。 +だいたい言語依存とかいうなら virus checker を切り離せよ > おれ + +など、てんこもりなので、text_plain_filter ってちょっと整理が大変だなと。 +それは一旦おいといて、とっとと content filter の構造を再構成しよう。 + + text/plain permit + text/html reject + * permit + +みたいなルールに従って判定をするように改造したいとおもいます。 + + +○ [参考] 現在の変数体系 + +=head2 フィルタ + +use_article_filter = yes + + +article_filter_functions = article_header_filter + article_non_mime_filter + article_mime_component_filter + article_text_plain_filter + +=head2 ヘッダ情報ベースのフィルタ + +use_article_header_filter = yes + +article_header_filter_rules = check_message_id + permit + +=head2 MIME 情報ベースのフィルタ + +use_article_non_mime_filter = yes + +article_non_mime_filter_rules = permit + +use_article_mime_component_filter = yes + +article_mime_component_filter_rules = $fml_config_dir/mime_component_filter + +=head2 テキスト部分に対するフィルタ + +use_article_text_plain_filter = yes + +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 + + + +---- +$FML$ |
