diff options
| -rw-r--r-- | fml/etc/src/config.cf.en/createonpost.cf | 29 | ||||
| -rw-r--r-- | fml/etc/src/config.cf.ja/createonpost.cf | 47 |
2 files changed, 69 insertions, 7 deletions
diff --git a/fml/etc/src/config.cf.en/createonpost.cf b/fml/etc/src/config.cf.en/createonpost.cf index 4611c9aa..3a606e6a 100644 --- a/fml/etc/src/config.cf.en/createonpost.cf +++ b/fml/etc/src/config.cf.en/createonpost.cf @@ -60,11 +60,32 @@ createonpost_sender_maps = pcre:$ml_home_dir/sender.pcre createonpost_subscribe_maps = pcre:$ml_home_dir/subscribe.pcre -# Descriptions: +=head2 CREATE-ON-POST NEWML RESTRICTIONS + + +# Descriptions: Who is allowed to create a newml dynamically by remote. +# Anyone can do this by default at the first design, +# but it is inappropriate in the actual operation. +# If you restricts the permission more granually, +# use $createonpost_newml_maps, which allows regexp. +# History: fml4 has no CREATE-ON-POST function. +# In the first implementation of CREATE-ON-POST of fml8, +# this restriction is not implemented. So, +# it was "permit_anyone" in creating a new ML. +# Value: MIX ( +# permit_createonpost_newml_maps +# permit_ml_domain +# permit_anyone +# ) +# Examples: permit_ml_domain +createonpost_newml_restrictions = permit_ml_domain + + +# Descriptions: Who is allowed to create a newml dynamically by remote. +# You can use perl regular expressions. # For eaxmple, this file contains \S+\@example.com line. # History: NONE # Value: FILE -# Examples: -createonpost_maintainer_maps = pcre:$ml_home_dir/maintainer.pcre - +# Examples: pcre:$ml_home_dir/newml.pcre +createonpost_newml_maps = pcre:$ml_home_dir/newml.pcre diff --git a/fml/etc/src/config.cf.ja/createonpost.cf b/fml/etc/src/config.cf.ja/createonpost.cf index 888b2457..62037385 100644 --- a/fml/etc/src/config.cf.ja/createonpost.cf +++ b/fml/etc/src/config.cf.ja/createonpost.cf @@ -44,6 +44,24 @@ createonpost_subscribe_restrictions = reject_system_special_accounts permit_anyone +# Descriptions: +# History: NONE +# Value: MIX ( +# reject_errormail +# reject_fml8_managed_address +# reject_createonpost_domain +# permit_createonpost_maintainer_maps +# permit_anyone +# ) +# Examples: permit_anyone +createonpost_newml_restrictions = reject_system_special_accounts + reject_errormail + reject_fml8_managed_address + reject_createonpost_domain + permit_createonpost_maintainer_maps + permit_anyone + + # Descriptions: # ファイルの中は、たとえば \S+\@example.com # History: NONE @@ -60,10 +78,33 @@ createonpost_sender_maps = pcre:$ml_home_dir/sender.pcre createonpost_subscribe_maps = pcre:$ml_home_dir/subscribe.pcre -# Descriptions: +=head2 CREATE-ON-POST でMLを作る機能への制限 + + +# Descriptions: CREATE-ON-POST で動的にMLを作ることができるユーザ +# を制限する。 +# デフォルトでは $ml_domain (サーバのデフォルトドメイン) +# のユーザのみ(create-on-post 用に別のドメインを使うので、 +# これは大抵サーバ管理者たちという意味)。 +# もっと細かい制御をしたいなら、正規表現も使える +# $createonpost_newml_maps でドメイン制限などを行なうと良い。 +# History: fml4 にはない。 +# fml8 の初期実装では、この restrictions はなく、 +# permit_anyone と同じ意味であった。 +# Value: MIX ( +# permit_createonpost_newml_maps +# permit_ml_domain +# permit_anyone +# ) +# Examples: yes +createonpost_newml_restrictions = permit_ml_domain + + +# Descriptions: CREATE-ON-POST で動的にMLを作ることができるユーザのリスト。 +# pcre マップを使えば正規表現も使える。 # ファイルの中は、たとえば \S+\@example.com # History: NONE # Value: FILE -# Examples: -createonpost_maintainer_maps = pcre:$ml_home_dir/maintainer.pcre +# Examples: pcre:$ml_home_dir/newml.pcre +createonpost_newml_maps = pcre:$ml_home_dir/newml.pcre |
