summaryrefslogtreecommitdiff
path: root/fml/doc/en/tutorial
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-05-25 04:34:22 +0000
committerfukachan <fukachan>2004-05-25 04:34:22 +0000
commit1a4e9ff4938df06492cfc68f861131669c114f4f (patch)
treead70f9d23169ed0e7a84cf77d8c4eb73048667ef /fml/doc/en/tutorial
parent11ec3a8d3e321cafa677b4527a66f5df66dc31ed (diff)
downloadfml8-1a4e9ff4938df06492cfc68f861131669c114f4f.tar.gz
fml8-1a4e9ff4938df06492cfc68f861131669c114f4f.tar.bz2
fml8-1a4e9ff4938df06492cfc68f861131669c114f4f.zip
regen: article_{virus,spam}_filter
Diffstat (limited to 'fml/doc/en/tutorial')
-rw-r--r--fml/doc/en/tutorial/variables/class.sgml8
-rw-r--r--fml/doc/en/tutorial/variables/filter.rules.sgml50
-rw-r--r--fml/doc/en/tutorial/variables/filter.size.sgml2
-rw-r--r--fml/doc/en/tutorial/variables/list.sgml54
4 files changed, 114 insertions, 0 deletions
diff --git a/fml/doc/en/tutorial/variables/class.sgml b/fml/doc/en/tutorial/variables/class.sgml
index 06434c2c..b47adf98 100644
--- a/fml/doc/en/tutorial/variables/class.sgml
+++ b/fml/doc/en/tutorial/variables/class.sgml
@@ -96,7 +96,9 @@ article {
article_spam_filter {
? $article_spam_filter_bogofilter_options
+ ? $article_spam_filter_drivers
$article_spam_filter_functions
+ $article_spam_filter_rules
? $article_spam_filter_spamassassin_options
? $article_spam_filter_spamc_options
$use_article_spam_filter
@@ -107,6 +109,12 @@ article {
$use_article_text_plain_filter
}
+ article_virus_filter {
+ ? $article_virus_filter_drivers
+ $article_virus_filter_rules
+ $use_article_virus_filter
+ }
+
article_* {
$article_sequence_file
? $article_subject_tag
diff --git a/fml/doc/en/tutorial/variables/filter.rules.sgml b/fml/doc/en/tutorial/variables/filter.rules.sgml
index c1413208..cb2c5533 100644
--- a/fml/doc/en/tutorial/variables/filter.rules.sgml
+++ b/fml/doc/en/tutorial/variables/filter.rules.sgml
@@ -35,6 +35,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
@@ -160,6 +162,54 @@ 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
+
+
+# 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/doc/en/tutorial/variables/filter.size.sgml b/fml/doc/en/tutorial/variables/filter.size.sgml
index bf07a930..4e5db296 100644
--- a/fml/doc/en/tutorial/variables/filter.size.sgml
+++ b/fml/doc/en/tutorial/variables/filter.size.sgml
@@ -87,6 +87,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
diff --git a/fml/doc/en/tutorial/variables/list.sgml b/fml/doc/en/tutorial/variables/list.sgml
index a749bc4d..e362e1c5 100644
--- a/fml/doc/en/tutorial/variables/list.sgml
+++ b/fml/doc/en/tutorial/variables/list.sgml
@@ -195,6 +195,15 @@ article_spam_filter_bogofilter_options</entry>
</row>
<row>
<entry>
+article_spam_filter_drivers</entry>
+<entry>
+ external spam checker.</entry>
+<entry>
+bogofilter
+ </entry>
+</row>
+<row>
+<entry>
article_spam_filter_functions</entry>
<entry>
list up driver names used as spam checker.</entry>
@@ -204,6 +213,15 @@ bogofilter
</row>
<row>
<entry>
+article_spam_filter_rules</entry>
+<entry>
+ action if the message looks a spam.</entry>
+<entry>
+header_rewrite
+ </entry>
+</row>
+<row>
+<entry>
article_spam_filter_spamassassin_options</entry>
<entry>
exit non-zero status code when spam caught if "-e" specified.</entry>
@@ -274,6 +292,24 @@ reject_not_iso2022jp_japanese_string
</row>
<row>
<entry>
+article_virus_filter_drivers</entry>
+<entry>
+ external virus checker.</entry>
+<entry>
+clamscan
+ </entry>
+</row>
+<row>
+<entry>
+article_virus_filter_rules</entry>
+<entry>
+ action if virus found.</entry>
+<entry>
+reject
+ </entry>
+</row>
+<row>
+<entry>
cgi_base_dir</entry>
<entry>
base directory which locates .cgi for this domain.</entry>
@@ -1751,6 +1787,15 @@ yes
</row>
<row>
<entry>
+use_article_spam_filter</entry>
+<entry>
+ use external spam checker.</entry>
+<entry>
+no
+ </entry>
+</row>
+<row>
+<entry>
use_article_text_plain_filter</entry>
<entry>
use text/plain filter, which is a simple syntax checker.</entry>
@@ -1760,6 +1805,15 @@ yes
</row>
<row>
<entry>
+use_article_virus_filter</entry>
+<entry>
+ external virus checker. disabled by default.</entry>
+<entry>
+no
+ </entry>
+</row>
+<row>
+<entry>
use_command_mail_filter_reject_notice</entry>
<entry>
inform filter rejection ?</entry>