From a411e17bdb32246e9debed09c8e6da82dc67c667 Mon Sep 17 00:00:00 2001 From: fukachan Date: Tue, 27 Nov 2001 09:30:39 +0000 Subject: default_config.cf includes paths.cf in it configure rewrites default_config.cf directly --- fml/etc/.cvsignore | 1 + fml/etc/.gen.sh | 4 +- fml/etc/Makefile | 13 +- fml/etc/default_config.cf.ja | 773 ------------------------------------- fml/etc/default_config.cf.ja.in | 826 ++++++++++++++++++++++++++++++++++++++++ fml/etc/defaults/Configurations | 1 + fml/etc/defaults/paths.cf.ja | 63 ++- fml/etc/paths.cf.in | 52 --- 8 files changed, 860 insertions(+), 873 deletions(-) delete mode 100644 fml/etc/default_config.cf.ja create mode 100644 fml/etc/default_config.cf.ja.in delete mode 100644 fml/etc/paths.cf.in diff --git a/fml/etc/.cvsignore b/fml/etc/.cvsignore index 0a6b4056..eaca9b19 100644 --- a/fml/etc/.cvsignore +++ b/fml/etc/.cvsignore @@ -1,2 +1,3 @@ main.cf paths.cf +default_config.cf.ja diff --git a/fml/etc/.gen.sh b/fml/etc/.gen.sh index bd3169f2..a4569e1e 100644 --- a/fml/etc/.gen.sh +++ b/fml/etc/.gen.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $FML$ +# $FML: .gen.sh,v 1.3 2001/06/17 08:57:08 fukachan Exp $ # jatmp=default_config.cf.ja.$$ @@ -16,6 +16,6 @@ do echo "" >> $jatmp done -mv $jatmp default_config.cf.ja +mv $jatmp default_config.cf.ja.in exit 0 diff --git a/fml/etc/Makefile b/fml/etc/Makefile index 1e9b5907..421fc8bd 100644 --- a/fml/etc/Makefile +++ b/fml/etc/Makefile @@ -1,19 +1,12 @@ # -# $FML: Makefile,v 1.6 2001/04/30 10:21:44 fukachan Exp $ +# $FML: Makefile,v 1.7 2001/04/30 13:34:16 fukachan Exp $ # TARGET_DIR = ../../Documentation/ja/etc CONV = $(PERL) ../../fml/utils/bin/text2html.pl -all: default_config.cf.ja html +all: default_config.cf.ja.in -default_config.cf.ja: defaults/* +default_config.cf.ja.in: defaults/* sh .gen.sh - -html: $(TARGET_DIR)/variablelist.html - -$(TARGET_DIR)/variablelist.html: defaults/*cf* defaults/Configurations - test -d $(TARGET_DIR) || mkdir $(TARGET_DIR) - $(CONV) default_config.cf.ja > $(TARGET_DIR)/variablelist.html - diff --git a/fml/etc/default_config.cf.ja b/fml/etc/default_config.cf.ja deleted file mode 100644 index 0f054bae..00000000 --- a/fml/etc/default_config.cf.ja +++ /dev/null @@ -1,773 +0,0 @@ -=head1 基本的なパラメータ - -=head2 MLの管理者 - -# Descriptions: いわゆるMLの管理者、エラーメールの返る先 -# History: fml 4.0 の $MAINTAINER -# Value: rfc822_address -# Examples: elena-admin@fml.org -maintainer = - - -=head2 言語 - -default_charset = iso-2022-jp - - -=head2 default modes - -# Descriptions: ファイルを作成する時のデフォルトモード -# History: -# Value: -# Examples: -default_file_mode = 0600 - -# Descriptions: ディレクトリを作成する時のデフォルトモード -# History: -# Value: -# Examples: -default_directory_mode = 0755 - -=head1 ディレクトリ - -# Descriptions: ML のホームディレクトリ -# $ml_home_dir は起動時に渡されるアーギュメントを元に -# FML::Process::Switch が決める -# History: fml 4.0 の $DIR にあたるもの -# Value: directory -# Examples: /var/spool/ml/elena -# ml_home_dir = - -# Descriptions: ML 間でシェアするデータベースをおくホームディレクトリ -# History: fml 4.0 に該当するものはない -# Value: directory -# Examples: /var/spool/ml/@db@ -shared_db_dir = $ml_home_prefix/@db@ - -# Descriptions: さまざまな目的につかう -# multi-purpose log, temporary, transient, and spool files -# History: $VAR_DIR -# Value: directory -# Examples: /var/spool/ml/elena/var -var_dir = $ml_home_dir/var - -# Descriptions: 一時的な中間ファイルを置くディレクトリ -# History: $TMP_DIR -# Value: directory -# Examples: /var/spool/ml/elena/tmp -tmp_dir = $ml_home_dir/tmp - - -# Descriptions: 各種データファイルを置くディレクトリ -# History: $VARDB_DIR -# Value: directory -# Examples: /var/spool/ml/elena/var/db -db_dir = $var_dir/db - - -# Descriptions: mail queue のディレクトリ -# History: 似たような目的に tmp/ が使われていたが、 -# fml 4.0 には直接該当するものはない。 -# Value: directory -# Examples: /var/spool/ml/elena/var/mqueue -mqueue_dir = $var_dir/mqueue - -# Descriptions: message template (file) -# History: /usr/local/fml/drafts/ -# Value: directory -# Examples: /usr/local/share/fml/$fml_version/template/$language -message_template_dir = $fml_share_dir/template/$template_file_charset - -# Descriptions: message template (paragraph) -# History: /usr/local/fml/messages/ -# Value: directory -# Examples: /usr/local/share/fml/$fml_version/message/$language -message_message_dir = $fml_share_dir/message/$template_file_charset - -=head1 アクセス制御ルール - -# Descriptions: 投稿への制限 -# History: fml 4.0 の PERMIT_POST_FROM と REJECT_ADDR を合体したもの -# Value: list of attributes -# Examples: -post_restrictions = reject_system_accounts - permit_members_only - reject - -# Descriptions: コマンドへの制限 -# History: fml 4.0 の PERMIT_COMMAND_FROM と REJECT_ADDR を合体したもの -# Value: list of attributes -# Examples: -command_restrictions = reject_system_accounts - permit_members_only - reject - - -=head2 メンバーとみなされるのは誰か? - -# Descriptions: 登録などの際に対象となるメンバーリスト -# XXX map のタイプによっては書き込みできないこともある -# XXX (例: unix.group ) -# History: fml 4.0 の $MEMBER_LIST -# Value: filename -# Examples: /var/spool/ml/elena/members -primary_member_map = file:$ml_home_dir/members - - -# Descriptions: メンバーかどうか認証する際に検索するすべてのメンバーリスト -# History: fml 4.0 の $MEMBER_LIST @MEMBER_LIST 相当 -# Type: -# Examples: -member_maps = $primary_member_map - - -=head2 受信者のリスト - - -# Descriptions: 登録などの際に対象とする受信者のリスト -# XXX map のタイプによっては書き込みできないこともある -# XXX (例: unix.group ) -# History: fml 4.0 の $ACTIVE_LIST -# Value: filename -# Examples: /var/spool/ml/elena/actives -primary_recipient_map = file:$ml_home_dir/actives - - -# Descriptions: すべての受信者のリスト -# History: fml 4.0 の $ACTIVE_LIST @ACTIVE_LIST 相当 -# Value: a list of filenames -# Examples: file:$ml_home_dir/recipients -# unix.group:fml -recipient_maps = $primary_recipient_map - file:$ml_home_dir/recipients - -=head2 アカウントベースのアクセス制限をかける - -# Descriptions: OS が使っているようなアカウントや自動プログラムのリスト -# これらのアカウントは -# 1. だれだか個人を特定できないようなアカウントである。 -# 2. えてして自動プログラムなどになっており、 -# メールループなどをひきおこしうる。 -# これらの理由により望ましくないアカウントたちと思われる。 -# History: fml 4.0 の $REJECT_ADDR -# Value: a list of strings -# Examples: see below -system_accounts = root - postmaster - MAILER-DAEMON - msgs - nobody - news - majordomo - listserv - listproc - \S+\-help - \S+\-subscribe - \S+\-unsubscribe - -=head1 MTA の設定 - -# Descriptions: ひとつの SMTP トランザクションで MTA に渡す受信者の数の上限 -# デフォルトは postfix にあわせて 1000 -# History: 4.0 で直接対応するものはない。 -# $MCI_SMTP_HOSTS は似ているがちょっと違う -# Value: number -# Examples: -recipient_limit = 1000 - -# Descriptions: デフォールトの MTA は自分自身( localhost ) -# IPv6 の loopback がデフォルトなのがおしゃれ :-) -# History: fml 4.0 の $HOST -# Value: host:port -# Examples: -smtp_servers = [::1]:25 - 127.0.0.1:25 - -# Descriptions: SMTP の MAIL FROM:<$smtp_sender> で使うパラメータ -# History: fml 4.0 の $SMTP_SENDER -# Value: mail_address (RFC822 の addrspec) -# Examples: elena-admin@fml.org -smtp_sender = $maintainer - -=head1 メッセージ操作 - -=head2 言語 - -# Descriptions: -# History: -# Value: -# Examples: -reply_message_charset = $default_charset - -# Descriptions: -# History: -# Value: -# Examples: -system_message_charset = $default_charset - -# Descriptions: -# History: -# Value: -# Examples: -template_file_charset = euc-jp - - -# Descriptions: -# History: -# Value: -# Examples: -message_default_subject = fml system message - - -# Descriptions: -# History: -# Value: -# Examples: -reply_message_subject = reply from $ml_name ML - - -# Descriptions: -# History: -# Value: -# Examples: -system_message_subject = fml system message ($ml_name ML) - - -=head2 テンプレートファイル群 - - -# Descriptions: ヘルプファイル -# History: -# Value: -# Examples: -help_file = $message_template_dir/help - -# Descriptions: ヘルプファイル -# History: -# Value: -# Examples: -guide_file = $message_template_dir/guide - -# Descriptions: ヘルプファイル -# History: -# Value: -# Examples: -summary_file = $message_template_dir/summary - -# Descriptions: ヘルプファイル -# History: -# Value: -# Examples: -objective_file = $message_template_dir/objective - -=head1 ヘッダの操作 - -# Descriptions: ヘッダ書換えの操作をするか? -# History: -# Value: yes / no -# Examples: -use_header_rewrite = yes - -# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか? -# History: -# Value: yes / no -# Examples: -use_header_filter = yes - -# Descriptions: フィルタリングのルール -# History: -# Value: -# Examples: -header_filter_rules = is_valid_message_id - -# Descriptions: ヘッダ情報を根拠にしたループチェックをするか? -# History: -# Value: yes / no -# Examples: -use_header_loop_check = yes - -# Descriptions: ヘッダに対するループチェックのルール群 -# History: -# Value: -# Examples: -header_loop_check_rules = verify_message_id_uniqueness - verify_x_ml_info_uniqueness - verify_list_post_uniqueness - -# Descriptions: Message-ID のキャッシュを格納するディレクトリ -# History: -# Value: -# Examples: -message_id_cache_dir = $db_dir/message_id - - -# Descriptions: 記事のヘッダを書き換えるルール群 -# Re: を切り落とす操作はデフォルトなので指定の必要なし -# History: -# Value: -# Examples: -article_header_rewrite_rules = delete_unsafe_header_fields - rewrite_subject_tag - rewrite_reply_to - add_software_info - add_fml_ml_name - add_fml_traditional_article_id - add_fml_article_id - add_x_sequence - add_rfc2369 - - -# Descriptions: 記事のまとめおくりのヘッダを書き換えるルール群 -# History: -# Value: -# Examples: -digest_header_rewrite_rules = add_software_info - add_rfc2369 - - -# Descriptions: あぶないタグを消す -# History: fml 4.0 の SKIP_FIELDS -# Value: strings -# Examples: -unsafe_header_fields = Return-Receipt-To - - -# Descriptions: Subject: につけるタグの制御 -# History: -# Value: -# Examples: -subject_tag_name = $ml_name - - -# Descriptions: Subject: のタグ -# % の意味は UNIX マニュアルを参照。例えば sprintf 関数など -# History: -# Value: -# Examples: [elena:00080] -subject_tag = [$ml_name:%05d] - - -# Descriptions: X-ML-Name: および X-Sequence にあらわれる ML 名 -# XXX そこだけ変えたい場合があるかもしれないので、 -# XXX 一応 $ml_name とは分けておく。 -# History: -# Value: -# Examples: elena -x_ml_name = $ml_name - -=head1 メール本文(ボディ)への操作 - -# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか? -# History: -# Value: yes / no -# Examples: -use_body_filter = yes - -# Descriptions: フィルタリングのルール -# History: -# Value: -# Examples: -body_filter_rules = reject_not_iso2022jp_japanese_string - reject_null_mail_body - reject_one_line_message - reject_old_fml_command_syntax - reject_invalid_fml_command_syntax - reject_japanese_command_syntax - reject_ms_guid - -# Descriptions: ヘッダ情報を根拠にしたループチェックをするか? -# History: -# Value: yes / no -# Examples: -use_body_loop_check = yes - -# Descriptions: ヘッダに対するループチェックのルール群 -# History: -# Value: -# Examples: -body_loop_check_rules = verify_body_cksum_uniqueness - -# Descriptions: Message-ID のキャッシュを格納するディレクトリ -# History: -# Value: -# Examples: -body_cksum_cache_dir = $db_dir/body_cksum - -=head1 ロック - -# Descriptions: ロックをするか? -# History: -# Value: yes /no -use_lock = yes - -# Descriptions: ロックファイルを置くディレクトリ -# History: -# Value: directory -# Examples: /var/spool/ml/elena/var/lock -lock_dir = $var_dir/lock - -# Descriptions: ロックファイル (ジャイアントロック用のファイル) -# History: fml 4.0 ではスプールディレクトリ $SPOOL_DIR -# をロックしていた。 -# Value: filename -# Examples: /var/spool/ml/elena/var/lock/giantlock -lock_file = $lock_dir/giantlock - -# Descriptions: ロックのタイプ -# History: fml 4.0 の $USE_FLOCK -# Value: flock -# Examples: -lock_type = flock - -=head1 ログのとり方 - -# Descriptions: ログとり機能を有効にする -# History: fml 4.0 では有無を言わさずログをとる -# Value: yes / no -# Examples: -use_log = yes - -# Descriptions: ログファイル -# History: fml 4.0 の $LOGFILE -# Value: filename -# Examples: -log_file = $ml_home_dir/log - -# Descriptions: ログとりのタイプ (syslog は未実装) -# History: fml 5.0 new -# Value: file / syslog -# Examples: -log_type = file - -# Descriptions: log message format -# History: -# Value: fml4_compatible -# Examples: fml4_compatible の例 -# 01/01/28 00:53:57 IPv6 is ready (fukachan@fml.org) -log_format_type = fml4_compatible - -# Descriptions: ログファイル -# History: -# Value: filename -# Examples: -log_dir = $var_dir/log - -# Descriptions: ログファイルがおかれるディレクトリ -# History: -# Value: directory -# Examples: -smtp_log_dir = $log_dir - -# Descriptions: メールサーバとのやりとりを記録するファイル -# History: fml 4.0 の $SMTP_LOG -# Value: filename -# Examples: -smtp_log_file = $smtp_log_dir/_smtplog - -=head1 記事および記事のスプール - -# Descriptions: 記事を配送する機能を使うか否か? -# History: -# Value: yes / no -# Examples: -use_article_delivery = yes - -# Descriptions: 記事をスプールディレクトリに保存する -# History: 4.0 の $NOT_USE_SPOOL -# Value: yes / no -# Examples: -use_spool = yes - -# Descriptions: 記事番号を保存するファイル -# History: $SEQ_FILE -# Value: filename -# Examples: -sequence_file = $ml_home_dir/seq - -# Descriptions: 記事を保存するディレクトリ -# History: 4.0 の $SPOOL_DIR -# Value: directory -# Examples: -spool_dir = $ml_home_dir/spool - -# Descriptions: スプールのタイプ -# デフォルトでは平面的にファイルを配置する -# History: -# Value: plane -# Examples: -spool_type = plane - -=head1 コマンドの定義 - -# -# 注意: まだまだ考え中といえます -# - -# Descriptions: command prompt in message reply -# History: hard coded in fml (< 4.0) -# Value: string without spaces -# Examples: >>> -command_prompot = >>> - - -# Descriptions: chaddr コマンドで confirmation 認証(コールバック認証) -# を行なうか否か? -# History: -# Value: confirmation / "" -# Examples: -command_chaddr_type = confirmation - - -# Descriptions: unsubscribe コマンドで confirmation 認証(コールバック認証) -# を行なうか否か? -# History: -# Value: confirmation / "" -# Examples: -command_unsubscribe_type = confirmation - - - -# Descriptions: 有効なコマンド一覧を書く -# History: fml 4.0 ではデフォルトのコマンド定義一覧に対し -# @PERMIT_PROCEDURE @DENY_PROCEDURE などで -# 変更を加える -# Value: -# Examples: -available_commands = help - get - mget - get - mget - subscribe - bye - remove - resign - unsubscribe - chaddr - confirm - guide - info - - -available_commands_for_stranger = guide - info - subscribe - $confirm_keyword - - -confirm_keyword = confirm - -=head1 スレッド追跡システム - -# Descriptions: スレッド追跡システムを使うか -# History: fml 5.0 new -# Value: yes / no -# Examples: -use_thread_track = yes - - -# Descriptions: スレッド追跡システムは Subject タグを利用するか? -# History: fml 5.0 new -# Value: yes / no -# Examples: -use_thread_subject_tag = no - - -# Descriptions: チケットにつけるML名 -# 複数のMLにまたがったチケットを追跡するために -# 必要 -# History: fml 5.0 new -# Value: string -# Examples: elena -thread_subject_tag_name = $ml_name - -# Descriptions: チケット番号のシンタックス -# History: fml 5.0 new -# Value: -# Examples: elena_#00001010 $ml_name_#%08d -# elena/100 $ml_name/%d -thread_id_syntax = $ml_name/%d - -# Descriptions: Subject につけるチケット番号のシンタックス -# [] () {} などを $thread_id_syntax の -# 前後につけてもらうとわかりやすそう -# History: fml 5.0 new -# Value: -# Examples: [elena_#00001010] -# [elena/100] -thread_subject_tag = [$thread_id_syntax] - -# Descriptions: Subject につけるチケット番号のシンタックスの場所 -# 前につけるか、それとも後ろにつけるか? -# History: fml 5.0 new -# Value: appended/prepended -# Examples: Subject: [elena/100] .... -# Subject: .... [elena/100] -thread_subject_tag_location = appended - -# Descriptions: チケット番号を保存するファイル -# History: fml 5.0 new -# Value: filename -# Examples: /var/spool/ml/elena/thread.seq -thread_sequence_file = $ml_home_dir/thread.seq - -# Descriptions: チケット関連データを保存するディレクトリ -# 実際にはこの下に elena/article.db のように -# サブディレクトリがおかれる -# History: fml 5.0 new -# Value: directory -# Examples: /var/spool/ml/@db@/thread -thread_db_dir = $shared_db_dir/thread - -# Descriptions: -# History: -# Value: -# Examples: -thread_cgi_base_url = /cgi-bin/fmlthread.cgi - -thread_cgi_title = thread tracking system interface - -thread_cgi_bgcolor = #E6E6FA - -=head1 データベース管理システムとの連携 - -### -### TODO -### うー? -### DATABASE_CACHE_FILE_SUFFIX はどするん? -### - - -# Descriptions: データベース管理システムを使うか? -# このパラメータは必要ないと思うな…(?) -# History: 4.0 の $USE_DATABASE -# Value: yes / no -use_database = no - -# Descriptions: データベース管理システムとの通信方法 -# History: -# Value: mysql / postgresql / ldap -# Examples: -database_method = mysql - -# Descriptions: データベース管理システムとの通信方法が -# 記述されているモジュール -# History: -# Value: SQL::Schema::toymodel -# Examples: -database_model = SQL::Schema::toymodel - - -=head2 SQL の場合 - -# Descriptions: SQL サーバ群の定義 -# History: -# Value: -# Examples: -sql_servers = - -# Descriptions: SQL サーバにログインするためのユーザ名 -# History: -# Value: -# Examples: -sql_user = fml - -# Descriptions: SQL サーバにログインするためのパスワード -# History: -# Value: -# Examples: -sql_user_password = - -# Descriptions: データベースの名前 -# History: -# Value: -# Examples: -sql_database_name = fml - - -=head2 LDAP の場合 - -# Descriptions: LDAP サーバ -# History: -# Value: -# Examples: -ldap_servers = - -# Descriptions: LDAP サーバにログインするためのパスワード -# History: -# Value: -# Examples: -ldap_server_password = - -# Descriptions: LDAP の search base -# History: -# Value: -# Examples: -ldap_search_base = - -# Descriptions: LDAP の search bind -# History: -# Value: -# Examples: -ldap_server_bind = - -# Descriptions: LDAP のフィルタ -# History: -# Value: -# Examples: -ldap_query_filter = (objectclass=*) - -=head1 CGI 関連の設定 - -# Descriptions: デフォルトの CHARSET -# History: -# Value: -# Examples: -cgi_default_charset = euc-jp - -# Descriptions: CGI の表示の CHARSET -# History: -# Value: -# Examples: -cgi_charset = $cgi_default_charset - -=head1 システム依存 (主に BSD との非互換性を記述している) - -# -# 注意: デフォールトは NetBSD -# - -# Descriptions: getpwuid(2) があるか? -# History: -# Value: yes / no -# Examples: -has_getpwuid = yes - -# Descriptions: getpwgid(2) があるか? -# History: -# Value: yes / no -# Examples: -has_getpwgid = yes - -# Descriptions: alarm(2) があるか? -# History: -# Value: yes / no -# Examples: -has_alarm = yes - -# Descriptions: select(2) があるか? -# History: -# Value: yes / no -# Examples: -has_select = yes - - -=head1 フック's - -### ### -### default_config.cf file ends here. ### -### fml 4.0's 現在の LOCAL_CONFIG で別れ目になる行に相当する ### -### ### - -=cut - diff --git a/fml/etc/default_config.cf.ja.in b/fml/etc/default_config.cf.ja.in new file mode 100644 index 00000000..870a37f2 --- /dev/null +++ b/fml/etc/default_config.cf.ja.in @@ -0,0 +1,826 @@ +=head1 基本的なパラメータ + +=head2 MLの管理者 + +# Descriptions: いわゆるMLの管理者、エラーメールの返る先 +# History: fml 4.0 の $MAINTAINER +# Value: rfc822_address +# Examples: elena-admin@fml.org +maintainer = + + +=head2 言語 + +default_charset = iso-2022-jp + + +=head2 default modes + +# Descriptions: ファイルを作成する時のデフォルトモード +# History: +# Value: +# Examples: +default_file_mode = 0600 + +# Descriptions: ディレクトリを作成する時のデフォルトモード +# History: +# Value: +# Examples: +default_directory_mode = 0755 + +=head1 ディレクトリ + +# Descriptions: ML のホームディレクトリ +# $ml_home_dir は起動時に渡されるアーギュメントを元に +# FML::Process::Switch が決める +# History: fml 4.0 の $DIR にあたるもの +# Value: directory +# Examples: /var/spool/ml/elena +# ml_home_dir = + +# Descriptions: ML 間でシェアするデータベースをおくホームディレクトリ +# History: fml 4.0 に該当するものはない +# Value: directory +# Examples: /var/spool/ml/@db@ +shared_db_dir = $ml_home_prefix/@db@ + +# Descriptions: さまざまな目的につかう +# multi-purpose log, temporary, transient, and spool files +# History: $VAR_DIR +# Value: directory +# Examples: /var/spool/ml/elena/var +var_dir = $ml_home_dir/var + +# Descriptions: 一時的な中間ファイルを置くディレクトリ +# History: $TMP_DIR +# Value: directory +# Examples: /var/spool/ml/elena/tmp +tmp_dir = $ml_home_dir/tmp + + +# Descriptions: 各種データファイルを置くディレクトリ +# History: $VARDB_DIR +# Value: directory +# Examples: /var/spool/ml/elena/var/db +db_dir = $var_dir/db + + +# Descriptions: mail queue のディレクトリ +# History: 似たような目的に tmp/ が使われていたが、 +# fml 4.0 には直接該当するものはない。 +# Value: directory +# Examples: /var/spool/ml/elena/var/mqueue +mqueue_dir = $var_dir/mqueue + +# Descriptions: message template (file) +# History: /usr/local/fml/drafts/ +# Value: directory +# Examples: /usr/local/share/fml/$fml_version/template/$language +message_template_dir = $fml_share_dir/template/$template_file_charset + +# Descriptions: message template (paragraph) +# History: /usr/local/fml/messages/ +# Value: directory +# Examples: /usr/local/share/fml/$fml_version/message/$language +message_message_dir = $fml_share_dir/message/$template_file_charset + +=head1 アクセス制御ルール + +# Descriptions: 投稿への制限 +# History: fml 4.0 の PERMIT_POST_FROM と REJECT_ADDR を合体したもの +# Value: list of attributes +# Examples: +post_restrictions = reject_system_accounts + permit_members_only + reject + +# Descriptions: コマンドへの制限 +# History: fml 4.0 の PERMIT_COMMAND_FROM と REJECT_ADDR を合体したもの +# Value: list of attributes +# Examples: +command_restrictions = reject_system_accounts + permit_members_only + reject + + +=head2 メンバーとみなされるのは誰か? + +# Descriptions: 登録などの際に対象となるメンバーリスト +# XXX map のタイプによっては書き込みできないこともある +# XXX (例: unix.group ) +# History: fml 4.0 の $MEMBER_LIST +# Value: filename +# Examples: /var/spool/ml/elena/members +primary_member_map = file:$ml_home_dir/members + + +# Descriptions: メンバーかどうか認証する際に検索するすべてのメンバーリスト +# History: fml 4.0 の $MEMBER_LIST @MEMBER_LIST 相当 +# Type: +# Examples: +member_maps = $primary_member_map + + +=head2 受信者のリスト + + +# Descriptions: 登録などの際に対象とする受信者のリスト +# XXX map のタイプによっては書き込みできないこともある +# XXX (例: unix.group ) +# History: fml 4.0 の $ACTIVE_LIST +# Value: filename +# Examples: /var/spool/ml/elena/actives +primary_recipient_map = file:$ml_home_dir/actives + + +# Descriptions: すべての受信者のリスト +# History: fml 4.0 の $ACTIVE_LIST @ACTIVE_LIST 相当 +# Value: a list of filenames +# Examples: file:$ml_home_dir/recipients +# unix.group:fml +recipient_maps = $primary_recipient_map + file:$ml_home_dir/recipients + +=head2 アカウントベースのアクセス制限をかける + +# Descriptions: OS が使っているようなアカウントや自動プログラムのリスト +# これらのアカウントは +# 1. だれだか個人を特定できないようなアカウントである。 +# 2. えてして自動プログラムなどになっており、 +# メールループなどをひきおこしうる。 +# これらの理由により望ましくないアカウントたちと思われる。 +# History: fml 4.0 の $REJECT_ADDR +# Value: a list of strings +# Examples: see below +system_accounts = root + postmaster + MAILER-DAEMON + msgs + nobody + news + majordomo + listserv + listproc + \S+\-help + \S+\-subscribe + \S+\-unsubscribe + +=head1 MTA の設定 + +# Descriptions: ひとつの SMTP トランザクションで MTA に渡す受信者の数の上限 +# デフォルトは postfix にあわせて 1000 +# History: 4.0 で直接対応するものはない。 +# $MCI_SMTP_HOSTS は似ているがちょっと違う +# Value: number +# Examples: +recipient_limit = 1000 + +# Descriptions: デフォールトの MTA は自分自身( localhost ) +# IPv6 の loopback がデフォルトなのがおしゃれ :-) +# History: fml 4.0 の $HOST +# Value: host:port +# Examples: +smtp_servers = [::1]:25 + 127.0.0.1:25 + +# Descriptions: SMTP の MAIL FROM:<$smtp_sender> で使うパラメータ +# History: fml 4.0 の $SMTP_SENDER +# Value: mail_address (RFC822 の addrspec) +# Examples: elena-admin@fml.org +smtp_sender = $maintainer + +=head1 メッセージ操作 + +=head2 言語 + +# Descriptions: +# History: +# Value: +# Examples: +reply_message_charset = $default_charset + +# Descriptions: +# History: +# Value: +# Examples: +system_message_charset = $default_charset + +# Descriptions: +# History: +# Value: +# Examples: +template_file_charset = euc-jp + + +# Descriptions: +# History: +# Value: +# Examples: +message_default_subject = fml system message + + +# Descriptions: +# History: +# Value: +# Examples: +reply_message_subject = reply from $ml_name ML + + +# Descriptions: +# History: +# Value: +# Examples: +system_message_subject = fml system message ($ml_name ML) + + +=head2 テンプレートファイル群 + + +# Descriptions: ヘルプファイル +# History: +# Value: +# Examples: +help_file = $message_template_dir/help + +# Descriptions: ヘルプファイル +# History: +# Value: +# Examples: +guide_file = $message_template_dir/guide + +# Descriptions: ヘルプファイル +# History: +# Value: +# Examples: +summary_file = $message_template_dir/summary + +# Descriptions: ヘルプファイル +# History: +# Value: +# Examples: +objective_file = $message_template_dir/objective + +=head1 ヘッダの操作 + +# Descriptions: ヘッダ書換えの操作をするか? +# History: +# Value: yes / no +# Examples: +use_header_rewrite = yes + +# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか? +# History: +# Value: yes / no +# Examples: +use_header_filter = yes + +# Descriptions: フィルタリングのルール +# History: +# Value: +# Examples: +header_filter_rules = is_valid_message_id + +# Descriptions: ヘッダ情報を根拠にしたループチェックをするか? +# History: +# Value: yes / no +# Examples: +use_header_loop_check = yes + +# Descriptions: ヘッダに対するループチェックのルール群 +# History: +# Value: +# Examples: +header_loop_check_rules = verify_message_id_uniqueness + verify_x_ml_info_uniqueness + verify_list_post_uniqueness + +# Descriptions: Message-ID のキャッシュを格納するディレクトリ +# History: +# Value: +# Examples: +message_id_cache_dir = $db_dir/message_id + + +# Descriptions: 記事のヘッダを書き換えるルール群 +# Re: を切り落とす操作はデフォルトなので指定の必要なし +# History: +# Value: +# Examples: +article_header_rewrite_rules = delete_unsafe_header_fields + rewrite_subject_tag + rewrite_reply_to + add_software_info + add_fml_ml_name + add_fml_traditional_article_id + add_fml_article_id + add_x_sequence + add_rfc2369 + + +# Descriptions: 記事のまとめおくりのヘッダを書き換えるルール群 +# History: +# Value: +# Examples: +digest_header_rewrite_rules = add_software_info + add_rfc2369 + + +# Descriptions: あぶないタグを消す +# History: fml 4.0 の SKIP_FIELDS +# Value: strings +# Examples: +unsafe_header_fields = Return-Receipt-To + + +# Descriptions: Subject: につけるタグの制御 +# History: +# Value: +# Examples: +subject_tag_name = $ml_name + + +# Descriptions: Subject: のタグ +# % の意味は UNIX マニュアルを参照。例えば sprintf 関数など +# History: +# Value: +# Examples: [elena:00080] +subject_tag = [$ml_name:%05d] + + +# Descriptions: X-ML-Name: および X-Sequence にあらわれる ML 名 +# XXX そこだけ変えたい場合があるかもしれないので、 +# XXX 一応 $ml_name とは分けておく。 +# History: +# Value: +# Examples: elena +x_ml_name = $ml_name + +=head1 メール本文(ボディ)への操作 + +# Descriptions: ヘッダ情報を根拠にしたフィルタリングをするか? +# History: +# Value: yes / no +# Examples: +use_body_filter = yes + +# Descriptions: フィルタリングのルール +# History: +# Value: +# Examples: +body_filter_rules = reject_not_iso2022jp_japanese_string + reject_null_mail_body + reject_one_line_message + reject_old_fml_command_syntax + reject_invalid_fml_command_syntax + reject_japanese_command_syntax + reject_ms_guid + +# Descriptions: ヘッダ情報を根拠にしたループチェックをするか? +# History: +# Value: yes / no +# Examples: +use_body_loop_check = yes + +# Descriptions: ヘッダに対するループチェックのルール群 +# History: +# Value: +# Examples: +body_loop_check_rules = verify_body_cksum_uniqueness + +# Descriptions: Message-ID のキャッシュを格納するディレクトリ +# History: +# Value: +# Examples: +body_cksum_cache_dir = $db_dir/body_cksum + +=head1 ロック + +# Descriptions: ロックをするか? +# History: +# Value: yes /no +use_lock = yes + +# Descriptions: ロックファイルを置くディレクトリ +# History: +# Value: directory +# Examples: /var/spool/ml/elena/var/lock +lock_dir = $var_dir/lock + +# Descriptions: ロックファイル (ジャイアントロック用のファイル) +# History: fml 4.0 ではスプールディレクトリ $SPOOL_DIR +# をロックしていた。 +# Value: filename +# Examples: /var/spool/ml/elena/var/lock/giantlock +lock_file = $lock_dir/giantlock + +# Descriptions: ロックのタイプ +# History: fml 4.0 の $USE_FLOCK +# Value: flock +# Examples: +lock_type = flock + +=head1 ログのとり方 + +# Descriptions: ログとり機能を有効にする +# History: fml 4.0 では有無を言わさずログをとる +# Value: yes / no +# Examples: +use_log = yes + +# Descriptions: ログファイル +# History: fml 4.0 の $LOGFILE +# Value: filename +# Examples: +log_file = $ml_home_dir/log + +# Descriptions: ログとりのタイプ (syslog は未実装) +# History: fml 5.0 new +# Value: file / syslog +# Examples: +log_type = file + +# Descriptions: log message format +# History: +# Value: fml4_compatible +# Examples: fml4_compatible の例 +# 01/01/28 00:53:57 IPv6 is ready (fukachan@fml.org) +log_format_type = fml4_compatible + +# Descriptions: ログファイル +# History: +# Value: filename +# Examples: +log_dir = $var_dir/log + +# Descriptions: ログファイルがおかれるディレクトリ +# History: +# Value: directory +# Examples: +smtp_log_dir = $log_dir + +# Descriptions: メールサーバとのやりとりを記録するファイル +# History: fml 4.0 の $SMTP_LOG +# Value: filename +# Examples: +smtp_log_file = $smtp_log_dir/_smtplog + +=head1 記事および記事のスプール + +# Descriptions: 記事を配送する機能を使うか否か? +# History: +# Value: yes / no +# Examples: +use_article_delivery = yes + +# Descriptions: 記事をスプールディレクトリに保存する +# History: 4.0 の $NOT_USE_SPOOL +# Value: yes / no +# Examples: +use_spool = yes + +# Descriptions: 記事番号を保存するファイル +# History: $SEQ_FILE +# Value: filename +# Examples: +sequence_file = $ml_home_dir/seq + +# Descriptions: 記事を保存するディレクトリ +# History: 4.0 の $SPOOL_DIR +# Value: directory +# Examples: +spool_dir = $ml_home_dir/spool + +# Descriptions: スプールのタイプ +# デフォルトでは平面的にファイルを配置する +# History: +# Value: plane +# Examples: +spool_type = plane + +=head1 コマンドの定義 + +# +# 注意: まだまだ考え中といえます +# + +# Descriptions: command prompt in message reply +# History: hard coded in fml (< 4.0) +# Value: string without spaces +# Examples: >>> +command_prompot = >>> + + +# Descriptions: chaddr コマンドで confirmation 認証(コールバック認証) +# を行なうか否か? +# History: +# Value: confirmation / "" +# Examples: +command_chaddr_type = confirmation + + +# Descriptions: unsubscribe コマンドで confirmation 認証(コールバック認証) +# を行なうか否か? +# History: +# Value: confirmation / "" +# Examples: +command_unsubscribe_type = confirmation + + + +# Descriptions: 有効なコマンド一覧を書く +# History: fml 4.0 ではデフォルトのコマンド定義一覧に対し +# @PERMIT_PROCEDURE @DENY_PROCEDURE などで +# 変更を加える +# Value: +# Examples: +available_commands = help + get + mget + get + mget + subscribe + bye + remove + resign + unsubscribe + chaddr + confirm + guide + info + + +available_commands_for_stranger = guide + info + subscribe + $confirm_keyword + + +confirm_keyword = confirm + +=head1 スレッド追跡システム + +# Descriptions: スレッド追跡システムを使うか +# History: fml 5.0 new +# Value: yes / no +# Examples: +use_thread_track = yes + + +# Descriptions: スレッド追跡システムは Subject タグを利用するか? +# History: fml 5.0 new +# Value: yes / no +# Examples: +use_thread_subject_tag = no + + +# Descriptions: チケットにつけるML名 +# 複数のMLにまたがったチケットを追跡するために +# 必要 +# History: fml 5.0 new +# Value: string +# Examples: elena +thread_subject_tag_name = $ml_name + +# Descriptions: チケット番号のシンタックス +# History: fml 5.0 new +# Value: +# Examples: elena_#00001010 $ml_name_#%08d +# elena/100 $ml_name/%d +thread_id_syntax = $ml_name/%d + +# Descriptions: Subject につけるチケット番号のシンタックス +# [] () {} などを $thread_id_syntax の +# 前後につけてもらうとわかりやすそう +# History: fml 5.0 new +# Value: +# Examples: [elena_#00001010] +# [elena/100] +thread_subject_tag = [$thread_id_syntax] + +# Descriptions: Subject につけるチケット番号のシンタックスの場所 +# 前につけるか、それとも後ろにつけるか? +# History: fml 5.0 new +# Value: appended/prepended +# Examples: Subject: [elena/100] .... +# Subject: .... [elena/100] +thread_subject_tag_location = appended + +# Descriptions: チケット番号を保存するファイル +# History: fml 5.0 new +# Value: filename +# Examples: /var/spool/ml/elena/thread.seq +thread_sequence_file = $ml_home_dir/thread.seq + +# Descriptions: チケット関連データを保存するディレクトリ +# 実際にはこの下に elena/article.db のように +# サブディレクトリがおかれる +# History: fml 5.0 new +# Value: directory +# Examples: /var/spool/ml/@db@/thread +thread_db_dir = $shared_db_dir/thread + +# Descriptions: +# History: +# Value: +# Examples: +thread_cgi_base_url = /cgi-bin/fmlthread.cgi + +thread_cgi_title = thread tracking system interface + +thread_cgi_bgcolor = #E6E6FA + +=head1 データベース管理システムとの連携 + +### +### TODO +### うー? +### DATABASE_CACHE_FILE_SUFFIX はどするん? +### + + +# Descriptions: データベース管理システムを使うか? +# このパラメータは必要ないと思うな…(?) +# History: 4.0 の $USE_DATABASE +# Value: yes / no +use_database = no + +# Descriptions: データベース管理システムとの通信方法 +# History: +# Value: mysql / postgresql / ldap +# Examples: +database_method = mysql + +# Descriptions: データベース管理システムとの通信方法が +# 記述されているモジュール +# History: +# Value: SQL::Schema::toymodel +# Examples: +database_model = SQL::Schema::toymodel + + +=head2 SQL の場合 + +# Descriptions: SQL サーバ群の定義 +# History: +# Value: +# Examples: +sql_servers = + +# Descriptions: SQL サーバにログインするためのユーザ名 +# History: +# Value: +# Examples: +sql_user = fml + +# Descriptions: SQL サーバにログインするためのパスワード +# History: +# Value: +# Examples: +sql_user_password = + +# Descriptions: データベースの名前 +# History: +# Value: +# Examples: +sql_database_name = fml + + +=head2 LDAP の場合 + +# Descriptions: LDAP サーバ +# History: +# Value: +# Examples: +ldap_servers = + +# Descriptions: LDAP サーバにログインするためのパスワード +# History: +# Value: +# Examples: +ldap_server_password = + +# Descriptions: LDAP の search base +# History: +# Value: +# Examples: +ldap_search_base = + +# Descriptions: LDAP の search bind +# History: +# Value: +# Examples: +ldap_server_bind = + +# Descriptions: LDAP のフィルタ +# History: +# Value: +# Examples: +ldap_query_filter = (objectclass=*) + +=head1 CGI 関連の設定 + +# Descriptions: デフォルトの CHARSET +# History: +# Value: +# Examples: +cgi_default_charset = euc-jp + +# Descriptions: CGI の表示の CHARSET +# History: +# Value: +# Examples: +cgi_charset = $cgi_default_charset + +# +# $FML: paths.cf.in,v 1.1 2001/11/18 02:35:05 fukachan Exp $ +# + +path_perl = @PERL@ + +path_cksum = @CKSUM@ + +path_md5 = @MD5@ + +path_tar = @TAR@ + +path_gzip = @GZIP@ + +path_zcat = @ZCAT@ + +path_gunzip = @GUNZIP@ + +path_lha = @LHA@ + +path_ish = @ISH@ + +path_bzip2 = @BZIP2@ + +path_bunzip2 = @BUNZIP2@ + +path_uuencode = @UUENCODE@ + +path_compress = @COMPRESS@ + +path_sendmail = @SENDMAIL@ + +path_nkf = @NKF@ + +path_kakasi = @KAKASI@ + +path_namazu = @NAMAZU@ + +path_pgp = @PGP@ + +path_pgp5 = @PGP5@ + +path_pgpe = @PGPe@ + +path_pgpk = @PGPK@ + +path_pgps = @PGPS@ + +path_pgpv = @PGPV@ + +path_gpg = @GPG@ + + +=head1 システム依存 (主に BSD との非互換性を記述している) + +# +# 注意: デフォールトは NetBSD +# + +# Descriptions: getpwuid(2) があるか? +# History: +# Value: yes / no +# Examples: +has_getpwuid = yes + +# Descriptions: getpwgid(2) があるか? +# History: +# Value: yes / no +# Examples: +has_getpwgid = yes + +# Descriptions: alarm(2) があるか? +# History: +# Value: yes / no +# Examples: +has_alarm = yes + +# Descriptions: select(2) があるか? +# History: +# Value: yes / no +# Examples: +has_select = yes + + +=head1 フック's + +### ### +### default_config.cf file ends here. ### +### fml 4.0's 現在の LOCAL_CONFIG で別れ目になる行に相当する ### +### ### + +=cut + diff --git a/fml/etc/defaults/Configurations b/fml/etc/defaults/Configurations index eda9c495..8404857c 100644 --- a/fml/etc/defaults/Configurations +++ b/fml/etc/defaults/Configurations @@ -12,5 +12,6 @@ command.cf threadtrack.cf dbms.cf cgi.cf +paths.cf system_dependence.cf __end__.cf diff --git a/fml/etc/defaults/paths.cf.ja b/fml/etc/defaults/paths.cf.ja index 7c51c24e..b10e26f1 100644 --- a/fml/etc/defaults/paths.cf.ja +++ b/fml/etc/defaults/paths.cf.ja @@ -1,61 +1,52 @@ -=head1 プログラムのパス名 +# +# $FML: paths.cf.in,v 1.1 2001/11/18 02:35:05 fukachan Exp $ +# -# -# 注意: デフォルトのパス名は NetBSD 1.5 リリース準拠です。 -# +path_perl = @PERL@ +path_cksum = @CKSUM@ -=head2 メールサーバ +path_md5 = @MD5@ -path_sendmail = /usr/sbin/sendmail +path_tar = @TAR@ +path_gzip = @GZIP@ -=head2 ファイル操作 +path_zcat = @ZCAT@ -path_tar = /usr/bin/tar +path_gunzip = @GUNZIP@ -path_uuencode = /usr/bin/uuencode +path_lha = @LHA@ -path_compress = /usr/bin/compress +path_ish = @ISH@ -path_zcat = /usr/bin/zcat +path_bzip2 = @BZIP2@ -path_lha = +path_bunzip2 = @BUNZIP2@ -path_ish = +path_uuencode = @UUENCODE@ -path_zip = +path_compress = @COMPRESS@ -path_bzip2 = /usr/bin/bzip2 +path_sendmail = @SENDMAIL@ +path_nkf = @NKF@ -=head2 バージョン管理 +path_kakasi = @KAKASI@ -path_rcs = /usr/bin/rcs +path_namazu = @NAMAZU@ -path_ci = /usr/bin/ci +path_pgp = @PGP@ -path_co = /usr/bin/co +path_pgp5 = @PGP5@ -path_cvs = +path_pgpe = @PGPe@ +path_pgpk = @PGPK@ -=head2 認証 +path_pgps = @PGPS@ -path_md5 = /usr/bin/md5 +path_pgpv = @PGPV@ - -=head2 非対称暗号 - -path_pgp = - -path_pgp5 = - -path_pgpe = - -path_pgpk = - -path_pgps = - -path_pgpv = +path_gpg = @GPG@ diff --git a/fml/etc/paths.cf.in b/fml/etc/paths.cf.in deleted file mode 100644 index e47a94e8..00000000 --- a/fml/etc/paths.cf.in +++ /dev/null @@ -1,52 +0,0 @@ -# -# $FML$ -# - -path_perl = @PERL@ - -path_cksum = @CKSUM@ - -path_md5 = @MD5@ - -path_tar = @TAR@ - -path_gzip = @GZIP@ - -path_zcat = @ZCAT@ - -path_gunzip = @GUNZIP@ - -path_lha = @LHA@ - -path_ish = @ISH@ - -path_bzip2 = @BZIP2@ - -path_bunzip2 = @BUNZIP2@ - -path_uuencode = @UUENCODE@ - -path_compress = @COMPRESS@ - -path_sendmail = @SENDMAIL@ - -path_nkf = @NKF@ - -path_kakasi = @KAKASI@ - -path_namazu = @NAMAZU@ - -path_pgp = @PGP@ - -path_pgp5 = @PGP5@ - -path_pgpe = @PGPe@ - -path_pgpk = @PGPK@ - -path_pgps = @PGPS@ - -path_pgpv = @PGPV@ - -path_gpg = @GPG@ - -- cgit v1.2.1