summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2003-02-16 13:07:15 +0000
committerfukachan <fukachan>2003-02-16 13:07:15 +0000
commit47379da33687b8abc78a652834af5c7d7e1b180a (patch)
tree9248f656c2968d8c54182280af13daa4c76981f2
parentf6aa7e9e223b5e5a10a1e3a2f4bd3a499b2f3f01 (diff)
downloadfml8-47379da33687b8abc78a652834af5c7d7e1b180a.tar.gz
fml8-47379da33687b8abc78a652834af5c7d7e1b180a.tar.bz2
fml8-47379da33687b8abc78a652834af5c7d7e1b180a.zip
add case studies
-rw-r--r--fml/doc/ja/tutorial/customize/case_studies.sgml60
-rw-r--r--fml/doc/ja/tutorial/customize/chapter.ml_style.sgml6
-rw-r--r--fml/doc/ja/tutorial/include/chapters.ent7
3 files changed, 70 insertions, 3 deletions
diff --git a/fml/doc/ja/tutorial/customize/case_studies.sgml b/fml/doc/ja/tutorial/customize/case_studies.sgml
new file mode 100644
index 00000000..6087c166
--- /dev/null
+++ b/fml/doc/ja/tutorial/customize/case_studies.sgml
@@ -0,0 +1,60 @@
+<!--
+ $FML$
+-->
+
+
+<sect1 id="sect.casestudy.01">
+ <title>
+ ケーススタディ: オフィス (1)
+ </title>
+
+<para>
+
+</para>
+
+</sect1>
+
+
+<sect1 id="sect.casestudy.02">
+ <title>
+ ケーススタディ: オフィス (2)
+ </title>
+
+<para>
+以下の設定を /etc/fml/site_default_config.cf に書き、
+全MLに反映させる。
+</para>
+
+<para>
+まず、記事のヘッダにはML名を大文字にしてつける。
+<screen>
+article_subject_tag = (\U$ml_name\E %05d)
+</screen>
+たとえば
+support@example.co.jp MLは
+<screen>
+Subject: (SUPPORT 10000)
+</screen>
+などとなる。
+</para>
+
+<para>
+そして、過去記事を参照させるために、コマンドメールの使用は許す。
+ただし、自ドメインからのリクエストに対してのみ、
+コマンドメールの使用を許す。
+これは、HOOK で実現する。
+<section>
+$command_verify_request_end_hook = q{
+ my $cred = $curproc->{ credential };
+ my $from = $cred->sender();
+
+ unless ($from =~ /\@example\.co\.jp/i) {
+ $curproc->stop_this_process();
+ LogError("deny command request from $from");
+ }
+};
+</section>
+</para>
+
+
+</sect1>
diff --git a/fml/doc/ja/tutorial/customize/chapter.ml_style.sgml b/fml/doc/ja/tutorial/customize/chapter.ml_style.sgml
index 5b222557..ecf635de 100644
--- a/fml/doc/ja/tutorial/customize/chapter.ml_style.sgml
+++ b/fml/doc/ja/tutorial/customize/chapter.ml_style.sgml
@@ -1,5 +1,5 @@
<!--
- $FML: chapter.ml_style.sgml,v 1.2 2002/07/29 09:32:57 fukachan Exp $
+ $FML: chapter.ml_style.sgml,v 1.3 2002/07/29 12:16:18 fukachan Exp $
-->
<chapter id="cuctomize">
<title>
@@ -17,4 +17,8 @@
<!-- procmail -->
&sect.usage.procmail;
+<!-- 実際のケーススタディ -->
+&sect.customize.casestudies;
+
+
</chapter>
diff --git a/fml/doc/ja/tutorial/include/chapters.ent b/fml/doc/ja/tutorial/include/chapters.ent
index adbe4d58..a6a67503 100644
--- a/fml/doc/ja/tutorial/include/chapters.ent
+++ b/fml/doc/ja/tutorial/include/chapters.ent
@@ -1,5 +1,5 @@
<!--
- $FML: chapters.ent,v 1.60 2002/12/30 07:38:07 fukachan Exp $
+ $FML: chapters.ent,v 1.61 2003/01/05 10:09:06 fukachan Exp $
-->
<!entity versin "1.1">
@@ -62,7 +62,10 @@
<!entity sect.config.mailmagazine SYSTEM "customize/mailmagazine.sgml">
<!entity sect.config.post.permit.anyone SYSTEM "customize/post_permit_anyone.sgml">
-<!entity sect.config.ml.hier SYSTEM "customize/ml.hier.ml">
+<!entity sect.config.ml.hier SYSTEM "customize/ml.hier.ml">
+
+<!entity sect.customize.casestudies SYSTEM "customize/case_studies.sgml">
+
<!entity recipe.header.tag.uppercase SYSTEM "customize/recipe.header.tag.uppercase.sgml">