summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfukachan <fukachan>2002-05-28 12:02:29 +0000
committerfukachan <fukachan>2002-05-28 12:02:29 +0000
commit8034c99b8179a663b0ee19de003dc4550f3fa463 (patch)
tree16df994dc61ff1874a9e5f67f059e9a0cf07d99c
parenteb03edfb8ba3028d1bc5db5e9aa5f4f7da40f9d5 (diff)
downloadfml8-8034c99b8179a663b0ee19de003dc4550f3fa463.tar.gz
fml8-8034c99b8179a663b0ee19de003dc4550f3fa463.tar.bz2
fml8-8034c99b8179a663b0ee19de003dc4550f3fa463.zip
clarify prefixes in caution.
define or rename sysconf_dir et.al. to $domain_XXX_config_dir
-rw-r--r--fml/etc/default_config.cf.ja.in109
-rw-r--r--fml/etc/src/config.cf.ja/acl.cf6
-rw-r--r--fml/etc/src/config.cf.ja/caution.cf25
-rw-r--r--fml/etc/src/config.cf.ja/directory.cf9
-rw-r--r--fml/etc/src/config.cf.ja/file.cf13
-rw-r--r--fml/etc/src/config.cf.ja/mta.cf56
6 files changed, 176 insertions, 42 deletions
diff --git a/fml/etc/default_config.cf.ja.in b/fml/etc/default_config.cf.ja.in
index 23407b00..d8c06356 100644
--- a/fml/etc/default_config.cf.ja.in
+++ b/fml/etc/default_config.cf.ja.in
@@ -7,6 +7,31 @@
#
# message subject やメール本文の文章の方を指す
#
+# [プレフィックス]
+#
+# fml_ fml システム共通&&全ドメイン共通
+# 個々のMLではなく fml システム全体で共通の変数。
+# 例: fml_libexec_dir = /usr/local/libexec/fml
+#
+# domain_ ? 各ドメインごと
+# ml_home_prefix = /var/spool/ml は別として、
+# 例:
+# domain_config_dir_prefix = /var/spool/ml/etc
+# domain_sendmail_config_dir = /var/spool/ml/etc/mail
+# domain_mail_config_dir = /var/spool/ml/etc/mail
+# domain_postfix_config_dir = /var/spool/ml/etc/postfix
+# domain_fml_config_dir = /var/spool/ml/etc/fml
+#
+# path_ プログラムのパス設定、つまり OS 依存
+#
+# postfix_ postfix システムの…
+#
+# qmail_ qmail システムの…
+#
+# なし(一般) 原則として、個々のMLごとの変数
+#
+# ****_dir 個々のMLの変数。例: /var/spool/ml/elena/var/db
+#
#
# [参照] 変数名の体系については
# http://www.fml.org/software/fml-devel/Documentation/ja/tutorial/
@@ -66,14 +91,7 @@ default_directory_mode = 0755
# History: fml 4.0 ではきめうち
# Value: directory
# Examples: /var/spool/ml/etc
-sysconf_dir = $ml_home_prefix/etc
-
-
-# Descriptions: MTA 用に教えるための設定ファイルを置くディレクトリ
-# History: fml 4.0 ではきめうち
-# Value: directory
-# Examples: /var/spool/ml/etc/mail
-mailconf_dir = $sysconf_dir/mail
+domain_config_base_dir = $ml_home_prefix/etc
# Descriptions: ML 間でシェアするデータベースをおくホームディレクトリ
@@ -142,19 +160,6 @@ listinfo_template_dir = $fml_share_dir/listinfo/$template_file_charset
=head1 ファイル
-# Descriptions: MTA に教えるための aliases ファイル
-# History: fml 4.0 ではきめうち
-# Value: file path
-# Examples: /var/spool/ml/etc/mail/aliases
-mail_aliases_file = $mailconf_dir/aliases
-
-
-# Descriptions: MTA に教えるための virtual map ファイル
-# History: none
-# Value: file path
-# Examples: /var/spool/ml/etc/mail/virtual
-postfix_virtual_map_file = $mailconf_dir/virtual
-
=head1 アクセス制御ルール
@@ -191,11 +196,17 @@ command_restrictions = reject_system_accounts
# History: fml 4.0 の ?
# Value: list of attributes (
# permit_anyone
+# permit_admin_member_maps
# check_admin_member_password
# reject_system_accounts
# reject
# )
# Examples:
+# 1. members-admin だけで認証する
+# permit_admin_member_maps reject
+# 2. パスワード認証 (members-admin &&パスワード認証)
+# check_admin_member_password reject
+#
admin_command_restrictions = reject_system_accounts
check_admin_member_password
reject
@@ -1050,9 +1061,65 @@ cgi_navigation_bar_color = #FFFFFF
=head1 MTA に依存する設定のヒント
+=head2 directory
+
+
+# Descriptions: MTA 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_mail_config_dir = $domain_config_base_dir/mail
+
+
+# Descriptions: postfix 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_postfix_config_dir = $domain_config_base_dir/postfix
+
+
+# Descriptions: qmail 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_qmail_config_dir = $domain_config_base_dir/qmail
+
+
+# Descriptions: exim 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_exim_config_dir = $domain_config_base_dir/exim
+
+
+# Descriptions: sendmail 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_sendmail_config_dir = $domain_mail_config_dir
+
+
+=head2 sendmail / postfix
+
+
+# Descriptions: MTA に教えるための aliases ファイル
+# History: fml 4.0 ではきめうち
+# Value: file path
+# Examples: /var/spool/ml/etc/mail/aliases
+mail_aliases_file = $domain_mail_config_dir/aliases
+
+
=head2 postfix
+# Descriptions: MTA に教えるための virtual map ファイル
+# History: none
+# Value: file path
+# Examples: /var/spool/ml/etc/mail/virtual
+postfix_virtual_map_file = $domain_postfix_config_dir/virtual
+
+
+
# Descriptions: ML作成時 (makefml newml)の際に作られる
# postfix テンプレートファイル
# Value: ARRAY
diff --git a/fml/etc/src/config.cf.ja/acl.cf b/fml/etc/src/config.cf.ja/acl.cf
index 8d01804a..0893b38a 100644
--- a/fml/etc/src/config.cf.ja/acl.cf
+++ b/fml/etc/src/config.cf.ja/acl.cf
@@ -33,11 +33,17 @@ command_restrictions = reject_system_accounts
# History: fml 4.0 の ?
# Value: list of attributes (
# permit_anyone
+# permit_admin_member_maps
# check_admin_member_password
# reject_system_accounts
# reject
# )
# Examples:
+# 1. members-admin だけで認証する
+# permit_admin_member_maps reject
+# 2. パスワード認証 (members-admin &&パスワード認証)
+# check_admin_member_password reject
+#
admin_command_restrictions = reject_system_accounts
check_admin_member_password
reject
diff --git a/fml/etc/src/config.cf.ja/caution.cf b/fml/etc/src/config.cf.ja/caution.cf
index d37f5574..8403f739 100644
--- a/fml/etc/src/config.cf.ja/caution.cf
+++ b/fml/etc/src/config.cf.ja/caution.cf
@@ -7,6 +7,31 @@
#
# message subject やメール本文の文章の方を指す
#
+# [プレフィックス]
+#
+# fml_ fml システム共通&&全ドメイン共通
+# 個々のMLではなく fml システム全体で共通の変数。
+# 例: fml_libexec_dir = /usr/local/libexec/fml
+#
+# domain_ ? 各ドメインごと
+# ml_home_prefix = /var/spool/ml は別として、
+# 例:
+# domain_config_dir_prefix = /var/spool/ml/etc
+# domain_sendmail_config_dir = /var/spool/ml/etc/mail
+# domain_mail_config_dir = /var/spool/ml/etc/mail
+# domain_postfix_config_dir = /var/spool/ml/etc/postfix
+# domain_fml_config_dir = /var/spool/ml/etc/fml
+#
+# path_ プログラムのパス設定、つまり OS 依存
+#
+# postfix_ postfix システムの…
+#
+# qmail_ qmail システムの…
+#
+# なし(一般) 原則として、個々のMLごとの変数
+#
+# ****_dir 個々のMLの変数。例: /var/spool/ml/elena/var/db
+#
#
# [参照] 変数名の体系については
# http://www.fml.org/software/fml-devel/Documentation/ja/tutorial/
diff --git a/fml/etc/src/config.cf.ja/directory.cf b/fml/etc/src/config.cf.ja/directory.cf
index 2d10c735..2ac738ed 100644
--- a/fml/etc/src/config.cf.ja/directory.cf
+++ b/fml/etc/src/config.cf.ja/directory.cf
@@ -22,14 +22,7 @@
# History: fml 4.0 ではきめうち
# Value: directory
# Examples: /var/spool/ml/etc
-sysconf_dir = $ml_home_prefix/etc
-
-
-# Descriptions: MTA 用に教えるための設定ファイルを置くディレクトリ
-# History: fml 4.0 ではきめうち
-# Value: directory
-# Examples: /var/spool/ml/etc/mail
-mailconf_dir = $sysconf_dir/mail
+domain_config_base_dir = $ml_home_prefix/etc
# Descriptions: ML 間でシェアするデータベースをおくホームディレクトリ
diff --git a/fml/etc/src/config.cf.ja/file.cf b/fml/etc/src/config.cf.ja/file.cf
index aa4eaaea..dd9473cd 100644
--- a/fml/etc/src/config.cf.ja/file.cf
+++ b/fml/etc/src/config.cf.ja/file.cf
@@ -1,15 +1,2 @@
=head1 ファイル
-# Descriptions: MTA に教えるための aliases ファイル
-# History: fml 4.0 ではきめうち
-# Value: file path
-# Examples: /var/spool/ml/etc/mail/aliases
-mail_aliases_file = $mailconf_dir/aliases
-
-
-# Descriptions: MTA に教えるための virtual map ファイル
-# History: none
-# Value: file path
-# Examples: /var/spool/ml/etc/mail/virtual
-postfix_virtual_map_file = $mailconf_dir/virtual
-
diff --git a/fml/etc/src/config.cf.ja/mta.cf b/fml/etc/src/config.cf.ja/mta.cf
index 9c4d97e4..11b5ac05 100644
--- a/fml/etc/src/config.cf.ja/mta.cf
+++ b/fml/etc/src/config.cf.ja/mta.cf
@@ -1,8 +1,64 @@
=head1 MTA に依存する設定のヒント
+=head2 directory
+
+
+# Descriptions: MTA 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_mail_config_dir = $domain_config_base_dir/mail
+
+
+# Descriptions: postfix 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_postfix_config_dir = $domain_config_base_dir/postfix
+
+
+# Descriptions: qmail 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_qmail_config_dir = $domain_config_base_dir/qmail
+
+
+# Descriptions: exim 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_exim_config_dir = $domain_config_base_dir/exim
+
+
+# Descriptions: sendmail 用に教えるための設定ファイルを置くディレクトリ
+# History: fml 4.0 ではきめうち
+# Value: directory
+# Examples: /var/spool/ml/etc/mail
+domain_sendmail_config_dir = $domain_mail_config_dir
+
+
+=head2 sendmail / postfix
+
+
+# Descriptions: MTA に教えるための aliases ファイル
+# History: fml 4.0 ではきめうち
+# Value: file path
+# Examples: /var/spool/ml/etc/mail/aliases
+mail_aliases_file = $domain_mail_config_dir/aliases
+
+
=head2 postfix
+# Descriptions: MTA に教えるための virtual map ファイル
+# History: none
+# Value: file path
+# Examples: /var/spool/ml/etc/mail/virtual
+postfix_virtual_map_file = $domain_postfix_config_dir/virtual
+
+
+
# Descriptions: ML作成時 (makefml newml)の際に作られる
# postfix テンプレートファイル
# Value: ARRAY