summaryrefslogtreecommitdiff
path: root/fml/etc/src
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-05-25 04:32:08 +0000
committerfukachan <fukachan>2004-05-25 04:32:08 +0000
commit11ec3a8d3e321cafa677b4527a66f5df66dc31ed (patch)
tree79ff7cd4dc0283d841296909ee419835606752d2 /fml/etc/src
parent068cb7ca3bd7ef8a2ad9528b4e117e10aedaeefe (diff)
downloadfml8-11ec3a8d3e321cafa677b4527a66f5df66dc31ed.tar.gz
fml8-11ec3a8d3e321cafa677b4527a66f5df66dc31ed.tar.bz2
fml8-11ec3a8d3e321cafa677b4527a66f5df66dc31ed.zip
define variables around article_spam_filter and article_virus_filter.
Diffstat (limited to 'fml/etc/src')
-rw-r--r--fml/etc/src/config.cf.en/article.cf55
-rw-r--r--fml/etc/src/config.cf.ja/article.cf55
2 files changed, 110 insertions, 0 deletions
diff --git a/fml/etc/src/config.cf.en/article.cf b/fml/etc/src/config.cf.en/article.cf
index 156c24a8..eb9affc3 100644
--- a/fml/etc/src/config.cf.en/article.cf
+++ b/fml/etc/src/config.cf.en/article.cf
@@ -96,6 +96,8 @@ article_filter_functions = article_size_filter
article_non_mime_filter
article_mime_component_filter
article_text_plain_filter
+ article_spam_filter
+ article_virus_filter
=head2 size based filter
@@ -223,6 +225,59 @@ article_text_plain_filter_rules = reject_not_iso2022jp_japanese_string
permit
+=head2 external SPAM filter
+
+
+# Descriptions: use external spam checker.
+# disabled by default.
+# add flag to header and go through if the message looks a spam.
+# History: none
+# Value: yes | no
+# Examples: no
+use_article_spam_filter = no
+
+
+# Descriptions: action if the message looks a spam.
+# History: none
+# Value: reject | ignore | header_rewrite
+# Examples: header_rewrite
+article_spam_filter_rules = header_rewrite
+
+
+# Descriptions: external spam checker.
+# if plural drivers specified, try them sequentially.
+# History: none
+# Value: spamassasin | spamc | bogofilter
+# Examples: bogofilter
+article_spam_filter_drivers = bogofilter
+
+
+=head2 external virus checker
+
+
+# Descriptions: external virus checker. disabled by default.
+# History: none
+# Value: yes | no
+# Examples: no
+use_article_virus_filter = no
+
+
+# Descriptions: action if virus found.
+# History: none
+# Value: reject | ignore | header_rewrite
+# Examples: reject
+article_virus_filter_rules = reject
+
+
+# Descriptions: external virus checker.
+# if plural drivers specified, try them sequentially.
+# History: none
+# Value: clamscan
+# Examples: clamscan
+article_virus_filter_drivers = clamscan
+
+
+
=head2 inform the filter rejection
diff --git a/fml/etc/src/config.cf.ja/article.cf b/fml/etc/src/config.cf.ja/article.cf
index d06e81ec..7552907a 100644
--- a/fml/etc/src/config.cf.ja/article.cf
+++ b/fml/etc/src/config.cf.ja/article.cf
@@ -99,6 +99,8 @@ article_filter_functions = article_size_filter
article_non_mime_filter
article_mime_component_filter
article_text_plain_filter
+ article_spam_filter
+ article_virus_filter
=head2 サイズ制限ベースのフィルタ
@@ -225,6 +227,59 @@ article_text_plain_filter_rules = reject_not_iso2022jp_japanese_string
permit
+=head2 SPAM メールに対するフィルタ
+
+
+# Descriptions: 外部のSPAMチェッカを使った検査、デフォルトでは無効。
+# また有効にした場合、ヘッダにSPAMであることを知らせる
+# フラッグをつけ通過させる動作がデフォルト。
+# History: none
+# Value: yes | no
+# Examples: no
+use_article_spam_filter = no
+
+
+# Descriptions: SPAMだと判定された場合、どうするか?
+# History: none
+# Value: reject | ignore | header_rewrite
+# Examples: header_rewrite
+article_spam_filter_rules = header_rewrite
+
+
+# Descriptions: SPAMチェッカとして使う外部プログラム。
+# 複数指定すると、複数のプログラムを順に試す。
+# History: none
+# Value: spamassasin | spamc | bogofilter
+# Examples: bogofilter
+article_spam_filter_drivers = bogofilter
+
+
+=head2 Virus メールに対するフィルタ
+
+
+# Descriptions: 外部のVirusチェッカを使った検査、デフォルトでは無効。
+# History: none
+# Value: yes | no
+# Examples: no
+use_article_virus_filter = no
+
+
+# Descriptions: ウィルスだと判定された場合、どうするか?
+# History: none
+# Value: reject | ignore | header_rewrite
+# Examples: reject
+article_virus_filter_rules = reject
+
+
+# Descriptions: ウィルスチェッカとして使う外部プログラム
+# 複数指定すると、複数のプログラムを順に試す。
+# History: none
+# Value: clamscan
+# Examples: clamscan
+article_virus_filter_drivers = clamscan
+
+
+
=head2 フィルタで弾かれたことを教える