summaryrefslogtreecommitdiff
path: root/fml
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-05-14 12:04:14 +0000
committerfukachan <fukachan>2003-05-14 12:04:14 +0000
commit5a41961d097eec25dbc8e6e69cc5b07a9d7298ea (patch)
tree3f7cebc8d5e7b54aeca043e9eb4041aa27286e80 /fml
parent0ef19fdfe7f44f18de5876b3be270b5759782113 (diff)
downloadfml8-5a41961d097eec25dbc8e6e69cc5b07a9d7298ea.tar.gz
fml8-5a41961d097eec25dbc8e6e69cc5b07a9d7298ea.tar.bz2
fml8-5a41961d097eec25dbc8e6e69cc5b07a9d7298ea.zip
regen: size limit
Diffstat (limited to 'fml')
-rw-r--r--fml/etc/default_config.cf.ja.in173
1 files changed, 172 insertions, 1 deletions
diff --git a/fml/etc/default_config.cf.ja.in b/fml/etc/default_config.cf.ja.in
index f6a216dd..a6f55cd7 100644
--- a/fml/etc/default_config.cf.ja.in
+++ b/fml/etc/default_config.cf.ja.in
@@ -477,6 +477,25 @@ list_addresses = $address_for_post
$address_for_command
$maintainer
+=head1 サイズの制限
+
+=head2 デフォルト値
+
+
+# Descriptions: ヘッダサイズの上限のデフォルト値
+# History:
+# Value: NUM
+# Examples: 102400
+default_mail_header_size_limit = 102400
+
+
+# Descriptions: 本文サイズの上限のデフォルト値
+# History:
+# Value: NUM
+# Examples: 10240000
+default_mail_body_size_limit = 10240000
+
+
=head1 MTA の設定
=head2 SMTP パラメータ
@@ -873,6 +892,42 @@ article_sequence_file = $sequence_file
post_restrictions_reject_notice_data_type = string
+=head2 サイズ制限
+
+
+# Descriptions: 投稿された記事のヘッダの上限値
+# (MTA から fml が受けとる際の記事のヘッダサイズの上限値)
+# History:
+# Value: NUM
+# Examples: 102400
+incoming_article_header_size_limit = $default_mail_header_size_limit
+
+
+# Descriptions: 投稿された記事の本文の上限値
+# (MTA から fml が受けとる際の記事の本文サイズの上限値)
+# History:
+# Value: NUM
+# Examples: 10240000
+incoming_article_body_size_limit = $default_mail_body_size_limit
+
+
+# Descriptions: 投稿された記事の(配送時の)ヘッダの上限値
+# (fml から MTA へ渡す際の記事のヘッダサイズの上限値)
+# (ごめん、この機能は未実装;-)
+# History:
+# Value: NUM
+# Examples: 102400
+outgoing_article_header_size_limit = $default_mail_header_size_limit
+
+
+# Descriptions: 投稿された記事の(配送時の)本文の上限値
+# (fml から MTA へ渡す際の記事の本文サイズの上限値)
+# (ごめん、この機能は未実装;-)
+# Value: NUM
+# Examples: 10240000
+outgoing_article_body_size_limit = $default_mail_body_size_limit
+
+
=head2 フィルタ
@@ -887,12 +942,33 @@ use_article_filter = yes
# History:
# Value:
# Examples:
-article_filter_functions = article_header_filter
+article_filter_functions = article_size_filter
+ article_header_filter
article_non_mime_filter
article_mime_component_filter
article_text_plain_filter
+=head2 サイズ制限ベースのフィルタ
+
+
+# Descriptions: サイズ情報を根拠にしたフィルタリングをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_article_size_filter = yes
+
+
+# Descriptions: フィルタリングのルール。
+# どのルールにもマッチしないなら、記事の投稿は認められる。
+# History:
+# Value:
+# Examples:
+article_size_filter_rules = check_header_size
+ check_body_size
+ permit
+
+
=head2 ヘッダ情報ベースのフィルタ
@@ -1099,6 +1175,76 @@ html_archive_index_order_type = reverse
use_command_mail_program = yes
+=head2 サイズ制限
+
+
+# Descriptions: MTA から fml が受けとる際のコマンドメールのヘッダサイズの上限値
+# History:
+# Value: NUM
+# Examples: 102400
+incoming_command_mail_header_size_limit = $default_mail_header_size_limit
+
+
+# Descriptions: MTA から fml が受けとる際のコマンドメールの本文サイズの上限値
+# History:
+# Value: NUM
+# Examples: 10240000
+incoming_command_mail_body_size_limit = $default_mail_body_size_limit
+
+
+# Descriptions: fml から MTA へ渡す際のコマンドメールのヘッダサイズの上限値
+# (ごめん、この機能は未実装;-)
+# History:
+# Value: NUM
+# Examples: 102400
+outgoing_command_mail_header_size_limit = $default_mail_header_size_limit
+
+
+# Descriptions: fml から MTA へ渡す際のコマンドメールの本文サイズの上限値
+# (ごめん、この機能は未実装;-)
+# History:
+# Value: NUM
+# Examples: 10240000
+outgoing_command_mail_body_size_limit = $default_mail_body_size_limit
+
+
+=head2 フィルタ
+
+
+# Descriptions:
+# History:
+# Value:
+# Examples:
+use_command_mail_filter = yes
+
+
+# Descriptions:
+# History:
+# Value:
+# Examples:
+command_mail_filter_functions = command_mail_size_filter
+
+
+=head2 サイズ制限ベースのフィルタ
+
+
+# Descriptions: サイズ情報を根拠にしたフィルタリングをするか?
+# History:
+# Value: yes / no
+# Examples:
+use_command_mail_size_filter = yes
+
+
+# Descriptions: フィルタリングのルール。
+# どのルールにもマッチしないなら、記事の投稿は認められる。
+# History:
+# Value:
+# Examples:
+command_mail_size_filter_rules = check_header_size
+ check_body_size
+ permit
+
+
=head2 コマンドの定義
#
@@ -1267,6 +1413,31 @@ newml_command_template_files = config.cf
+=head2 フィルタで弾かれたことを教える
+
+
+# Descriptions: フィルタで弾かれたことを教える
+# History: 4.0 ではハードコードだったような…
+# Value: yes / no
+# Examples: yes
+use_command_mail_filter_reject_notice = yes
+
+
+# Descriptions: エラーのお知らせの受信者
+# History: 4.0 ではハードコードだったような…
+# Value: maintainer | sender
+# Examples: maintainer sender
+command_mail_filter_reject_notice_recipients = maintainer
+ sender
+
+
+# Descriptions: 弾いたメールをどのようにフォワードするか?
+# ウィルスなどを考慮すると、文字列がいいとおもう
+# History: 4.0 では文字列で、これはハードコーディングされていた。
+# Value: multipart / string
+# Examples: string
+command_mail_filter_reject_notice_data_type = string
+
=head1 エラーメール解析
=head2