summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-10-14 22:19:20 +0000
committerfukachan <fukachan>2001-10-14 22:19:20 +0000
commit3fd74312f46a09fdf479a6de2b23074bdb25091f (patch)
tree6b24d44eb830b17d67763d4c34797914eadb8d42 /fml
parent6065312386e982f1be27634a20bd5b30f218bd56 (diff)
downloadfml8-3fd74312f46a09fdf479a6de2b23074bdb25091f.tar.gz
fml8-3fd74312f46a09fdf479a6de2b23074bdb25091f.tar.bz2
fml8-3fd74312f46a09fdf479a6de2b23074bdb25091f.zip
define the following variables for filtering (FML::Filter)
+body_cksum_cache_dir = $db_dir/body_cksum +body_filter_rules = reject_not_iso2022jp_japanese_string +body_loop_check_rules = verify_body_cksum_uniqueness +header_filter_rules = is_valid_message_id +use_body_filter = yes +use_body_loop_check = yes +use_header_filter = yes
Diffstat (limited to 'fml')
-rw-r--r--fml/etc/default_config.cf.ja61
-rw-r--r--fml/etc/defaults/Configurations1
-rw-r--r--fml/etc/defaults/body.cf.ja37
-rw-r--r--fml/etc/defaults/header.cf.ja23
4 files changed, 114 insertions, 8 deletions
diff --git a/fml/etc/default_config.cf.ja b/fml/etc/default_config.cf.ja
index f106dd9d..2f215369 100644
--- a/fml/etc/default_config.cf.ja
+++ b/fml/etc/default_config.cf.ja
@@ -268,14 +268,25 @@ objective_file = $message_template_dir/objective
# Examples:
use_header_rewrite = yes
-# Descriptions: ヘッダを根拠にしたフィルタリングなどをするか?
+# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか?
# History:
# Value: yes / no
# Examples:
-use_header_loop_check = yes
+use_header_filter = yes
+
+# Descriptions: フィルタリングのルール
+# History:
+# Value:
+# Examples:
+header_filter_rules = is_valid_message_id
+# Descriptions: ヘッダ情報を根拠にしたループチェックをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_header_loop_check = yes
-# Descriptions: ヘッダベースのフィルタリングのルール群
+# Descriptions: ヘッダに対するループチェックのルール群
# History:
# Value:
# Examples:
@@ -283,7 +294,11 @@ header_loop_check_rules = verify_message_id_uniqueness
verify_x_ml_info_uniqueness
verify_list_post_uniqueness
-message_id_cache_dir = $db_dir/message_id
+# Descriptions: Message-ID のキャッシュを格納するディレクトリ
+# History:
+# Value:
+# Examples:
+message_id_cache_dir = $db_dir/message_id
# Descriptions: 記事のヘッダを書き換えるルール群
@@ -340,6 +355,44 @@ subject_tag = [$ml_name:%05d]
# Examples: elena
x_ml_name = $ml_name
+=head1 メール本文(ボディ)への操作
+
+# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_body_filter = yes
+
+# Descriptions: フィルタリングのルール
+# History:
+# Value:
+# Examples:
+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
+
+# Descriptions: ヘッダ情報を根拠にしたループチェックをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_body_loop_check = yes
+
+# Descriptions: ヘッダに対するループチェックのルール群
+# History:
+# Value:
+# Examples:
+body_loop_check_rules = verify_body_cksum_uniqueness
+
+# Descriptions: Message-ID のキャッシュを格納するディレクトリ
+# History:
+# Value:
+# Examples:
+body_cksum_cache_dir = $db_dir/body_cksum
+
=head1 ロック
# Descriptions: ロックをするか?
diff --git a/fml/etc/defaults/Configurations b/fml/etc/defaults/Configurations
index 74bc4fca..b9e74d70 100644
--- a/fml/etc/defaults/Configurations
+++ b/fml/etc/defaults/Configurations
@@ -4,6 +4,7 @@ acl.cf
delivery.cf
messages.cf
header.cf
+body.cf
lock.cf
log.cf
spool.cf
diff --git a/fml/etc/defaults/body.cf.ja b/fml/etc/defaults/body.cf.ja
new file mode 100644
index 00000000..6e356a12
--- /dev/null
+++ b/fml/etc/defaults/body.cf.ja
@@ -0,0 +1,37 @@
+=head1 メール本文(ボディ)への操作
+
+# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_body_filter = yes
+
+# Descriptions: フィルタリングのルール
+# History:
+# Value:
+# Examples:
+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
+
+# Descriptions: ヘッダ情報を根拠にしたループチェックをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_body_loop_check = yes
+
+# Descriptions: ヘッダに対するループチェックのルール群
+# History:
+# Value:
+# Examples:
+body_loop_check_rules = verify_body_cksum_uniqueness
+
+# Descriptions: Message-ID のキャッシュを格納するディレクトリ
+# History:
+# Value:
+# Examples:
+body_cksum_cache_dir = $db_dir/body_cksum
diff --git a/fml/etc/defaults/header.cf.ja b/fml/etc/defaults/header.cf.ja
index fb89a22d..6e044b36 100644
--- a/fml/etc/defaults/header.cf.ja
+++ b/fml/etc/defaults/header.cf.ja
@@ -6,14 +6,25 @@
# Examples:
use_header_rewrite = yes
-# Descriptions: ヘッダを根拠にしたフィルタリングなどをするか?
+# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか?
# History:
# Value: yes / no
# Examples:
-use_header_loop_check = yes
+use_header_filter = yes
+
+# Descriptions: フィルタリングのルール
+# History:
+# Value:
+# Examples:
+header_filter_rules = is_valid_message_id
+# Descriptions: ヘッダ情報を根拠にしたループチェックをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_header_loop_check = yes
-# Descriptions: ヘッダベースのフィルタリングのルール群
+# Descriptions: ヘッダに対するループチェックのルール群
# History:
# Value:
# Examples:
@@ -21,7 +32,11 @@ header_loop_check_rules = verify_message_id_uniqueness
verify_x_ml_info_uniqueness
verify_list_post_uniqueness
-message_id_cache_dir = $db_dir/message_id
+# Descriptions: Message-ID のキャッシュを格納するディレクトリ
+# History:
+# Value:
+# Examples:
+message_id_cache_dir = $db_dir/message_id
# Descriptions: 記事のヘッダを書き換えるルール群