FreeBSD 8.4 RELEASE - メーリングリスト ezmlm - 基本設定


クラウディア 

 本ページの設定では、2014年9月以降の ports を使用した場合、日本語化の設定ができなくなっています。
 「トップページ」より、更新日時の新しいものを参考にしてください。

1. ports を手に入れる
2. メーリングリストの作成
3. メーリングリストへの登録
4. 手動でメーリングリストへ登録する方法
5. メーリングリストへの加入者を確認する
6. Reply-To について

1. ports を手に入れる

/usr/ports/mail/ezmlm-idx/
/usr/ports/mail/ezmlm/
 ezmlm-idx をインストールすると、ezmlm は、ezmlm-idx と依存関係にあるので一緒にインストールされます。

2. メーリングリストの作成


> ezmlm-make [-オプション] ディレクトリ ドットファイル名 アカウント名 ドメイン名
 の入力形式で、メーリングリストを作成します。  ここでオプションは以下の意味を持ちます。
-a  アーカイブに保存する(default) -A  アーカイブに保存しない
-c  .ezmlmrcを使用する -C  .ezmlmrcを使用しない(default)
-d  ダイジェストリストを作成する -D  ダイジェストリストを作成しない(default)
-e  既存のリストを修正する -E  既存のリストを修正しない(default)
-f  prefixを付ける -F  prefixを付けない(default)
-g  アーカイブへのアクセスを制限する -G  アーカイブへのアクセスを制限しない(default)
-i  indexを作成する(default) -I  indexを作成しない
-k  ブラックリストを作成する -K  ブラックリストを作成しない(default)
-l  遠隔管理者に参加者リストを送る -L  遠隔管理者に参加者リストを送らない(default)
-m  メッセージをモデレートする -M  メッセージをモデレートしない(default)
-n  新しくDIR/textを作成する -N  新しくDIR/textを作成しない(default)
-p  リストを公開する(default) -P  リストを公開しない
-q  リクエストアドレスを作成する -Q  リクエストアドレスを作成しない(default)
-r  遠隔管理をする -R  遠隔管理をしない(default)
-s  登録の管理をする -S  登録の管理をしない(default)
-t  最後に文書を添付する -T  最後に文書を添付しない(default)
-u  投稿を参加者だけに制限する -U  投稿を参加者だけに制限しない(default)
-v  versionを表示する -V  versionを表示する
-x Replyアドレスにmailtoを付け、dir/mimeremoveを作る
 わたしのお勧めオプションは、-f です。  メーリングリストのアドレスを仮に、test@hogohoge.ne.jp とします。

> ezmlm-make -f ~alias/test ~alias/.qmail-test test hogohoge.ne.jp
> chown -R alias ~alias/test
 で、メーリングリストを作成します。この例では、ユーザは root 権限であり、PATH に /var/qmail/bin が設定されていることを前提としていますので気をつけてください。  上記のコマンドを打つと、/var/qmail/alias に以下の4つのファイルと test/ というディレクトリが作成されます。
.qmail-test
.qmail-test-default
.qmail-test-owner
.qmail-test-return-default

3. メーリングリストへの登録

 一般ユーザがメーリングリストへ登録するには以下のような手順を踏みます。  まず、test-subscribe@hogohoge.ne.jp へ、件名なし・本文なしのメールを送ります。  送り主のメールアドレスを仮に、user@hogohoge.co.jp としますと、そのアドレス宛に以下のようなメールが送られてきます。

Hi! This is the ezmlm program. I'm managing the
test@hogohoge.ne.jp mailing list.

I'm working for my owner, who can be reached
at test-owner@hogohoge.ne.jp.

To confirm that you would like

   user@hogohoge.co.jp

added to the ml mailing list, please send
an empty reply to this address:

   test-sc.983770535.kgmaemcehmgnlfmdcaob-user=hogohoge.co.jp@hogohoge.ne.jp
   ↑
   これをクリックして返信する

Usually, this happens when you just hit the "reply" button.
If this does not work, simply copy the address and paste it into
the "To:" field of a new message.

This confirmation serves two purposes. First, it verifies that I am able
to get mail through to you. Second, it protects you in case someone
forges a subscription request in your name.


--- Administrative commands for the ml list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

For help and a description of available commands, send a message to:
   <test-help@hogohoge.ne.jp>

To subscribe to the list, send a message to:
   <test-subscribe@hogohoge.ne.jp>

To remove your address from the list, just send a message to
the address in the ``List-Unsubscribe'' header of any list
message. If you haven't changed addresses since subscribing,
you can also send a message to:
   <test-unsubscribe@hogohoge.ne.jp>

For addition or removal of addresses, I'll send a confirmation
message to that address. When you receive it, simply reply to it
to complete the transaction.

If you need to get in touch with the human owner of this list,
please send a message to:

    <test-owner@hogohoge.ne.jp>

Please include a FORWARDED list message with ALL HEADERS intact
to make it easier to help you.

--- Enclosed is a copy of the request I received.

Return-Path: <user@hogohoge.co.jp>
Received: (qmail 9707 invoked from network); 5 Mar 2001 05:35:34 -0000
Received: from pc325.city.co.jp (210.252.7.162)
  by ns.local.hogohoge.ne.jp with SMTP; 5 Mar 2001 05:35:34 -0000
Message-ID: <004201c0a536$0127daa0$1ee7a8c0@kitayama>
From: "=?iso-2022-jp?B?GyRCS0w7MxsoQg==?=" <user@hogohoge.co.jp>
To: <test-subscribe@hogohoge.ne.jp>
Subject:
Date: Mon, 5 Mar 2001 14:34:49 +0900
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
 このメールは、subscribe(応募)してきたユーザに対して、確認を求めるものです。誰か他の人間が勝手にメールアドレスを使ってメーリングリストにはいろうとしている場合は、ここが水際となって登録を止めることが出来るのです。  14行目のクリックすると返信メッセージを送信するようになります。  ここで再度、そのアドレスに対して件名なし、本文なしのメッセージを送信してください。  すると、以下のようなメッセージが返ってきます。

Hi! This is the ezmlm program. I'm managing the
test@hogohoge.ne.jp mailing list.

I'm working for my owner, who can be reached
at test-owner@hogohoge.ne.jp.

Acknowledgment: I have added the address

   user@hogohoge.co.jp

to the ml mailing list.

Welcome to test@hogohoge.ne.jp!

Please save this message so that you know the address you are
subscribed under, in case you later want to unsubscribe or change your
subscription address.

To unsubscribe, send a message to:

    <test-unsubscribe-user=hogohoge.co.jp@hogohoge.ne.jp>


--- Administrative commands for the ml list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

For help and a description of available commands, send a message to:
   <test-help@hogohoge.ne.jp>

To subscribe to the list, send a message to:
   <test-subscribe@hogohoge.ne.jp>

To remove your address from the list, just send a message to
the address in the ``List-Unsubscribe'' header of any list
message. If you haven't changed addresses since subscribing,
you can also send a message to:
   <test-unsubscribe@hogohoge.ne.jp>

For addition or removal of addresses, I'll send a confirmation
message to that address. When you receive it, simply reply to it
to complete the transaction.

If you need to get in touch with the human owner of this list,
please send a message to:

    <test-owner@hogohoge.ne.jp>

Please include a FORWARDED list message with ALL HEADERS intact
to make it easier to help you.

--- Enclosed is a copy of the request I received.

Return-Path: <user@hogohoge.co.jp>
Received: (qmail 9723 invoked from network); 5 Mar 2001 05:35:59 -0000
Received: from pc325.city.co.jp (210.252.7.162)
  by ns.local.hogohoge.ne.jp with SMTP; 5 Mar 2001 05:35:59 -0000
Message-ID: <004a01c0a536$0fb9dd70$1ee7a8c0@kitayama>
From: "=?iso-2022-jp?B?GyRCS0w7MxsoQg==?=" <user@hogohoge.co.jp>
To: <test-sc.983770535.kgmaemcehmgnlfmdcaob-user=hogohoge.co.jp@hogohoge.ne.jp>
Subject:
Date: Mon, 5 Mar 2001 14:35:14 +0900
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
 これでメーリングリストへの加入は完了です。

4. 手動でメーリングリストへ登録する方法

 あなたが知っているメールアドレスの持ち主で、ぜひメーリングリストへ参加してもらいたい人がいる場合、手動でメーリングリストに登録することが出来ます。  メーリングリストに参加してもらいたい人のメールアドレスが仮に user@hogohoge.co.jp だとすると

> ezmlm-sub /var/qmail/alias/test user@hogohoge.co.jp
 というコマンドで、参加してもらうことが出来ます。  これはくれぐれも悪用しないでください。欲しくない、メールマガジンを貰うものほど嫌なものはありませんからね。

5. メーリングリストへの加入者を確認する

 メーリングリストに加入している人を確認するには、

> ezmlm-list /var/qmail/alias/test | sort
 というコマンドを打ちます。するとメーリングリストの加入者が表示されます。

6. Reply-To について

 メーリングリストのメールに、Reply-To ヘッダをつけるかどうかについては、いろんな方のいろんな意見があるようですね。  わたしの基本的なスタンスは
  • 内輪だけのメーリングリストでは、Reply-To をつけるべきである。
  • 不特定多数が相手のメーリングリストでは、参加者の総意に沿うように、つけるかつけないかを決める。
  • メーリングリストの機能を利用してメールマガジンを発行する場合は、Reply-To をつけてはいけない。
 です。  とにかく、一番あかんと思うのは、メールマガジンのメールに Reply-To でメーリングリストのアドレスをつけるな!っちゅうことです。  よく、お馬鹿なメールマガジン発行者が Reply-To でメーリングリストのアドレスをつけているものだから、ユーザのひとりが「こんなメールはいりませんよ」と返信メールを出すと、それが全員に送られるもんだから、送られた方まで返信で「わたしはこんなメールを出した覚えはありませんよ」などと書いたりして、収集のつかないことになっているのを見かけることがあります。  メールマガジンの受信者は、素人と考えるべきなのですから、これは、Reply-To をつけている管理者が悪いっっ!  ということで、Reply-To のつけ方は、ここではあえて説明しません。悪しからず。

AbemaTV 無料体験
Amazonギフトカード
EMEET 1
健康サポート特集