# Mailing リストを Discourse へ移行する (mbox、Listserv、Google Groups など)

**URL:** https://meta.discourse.org/t/migrate-a-mailing-list-to-discourse-mbox-listserv-google-groups-etc/79773
**Category:** Migrating to Discourse
**Tags:** how-to
**Created:** [2018 年 2 月 4 日午後 9:08 UTC](https://meta.discourse.org/t/migrate-a-mailing-list-to-discourse-mbox-listserv-google-groups-etc/79773 "2018-02-04T21:08:05Z")
**Posts on this page:** 1
**Showing post:** 181

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [2021 年 5 月 14 日午後 12:23 UTC](https://meta.discourse.org/t/migrate-a-mailing-list-to-discourse-mbox-listserv-google-groups-etc/79773/181 "2021-05-14T12:23:44Z")

</div>

Discourse にインポートしようとしている Mailman 2 リストは、その存在期間の一部において `from_is_list` が「Munge From」に設定されていました。そのため、「From:」ヘッダーは以下のように表示されていました。

`From: リスト名 <リスト名-bounces@リストドメイン.com> On Behalf Of [元の送信者名]`

これは、以下のような形式の代わりにです。

`From: [元の送信者名] <username@example.com>`

これにより、インポーターがこれらのメッセージをすべて同一ユーザー（メールアドレス: [listname-bounces@listdomain.com](mailto:listname-bounces@listdomain.com)）からのものとしてインポートするのではないかと思ったのですが…しかし…

mbox ファイル内の新しいメールの開始を示す最初の行は、まだ以下のように始まっています。

`From username@example.com [日付 時刻 グループ]`

（Hyperkitty のアーカイブでも、元の送信者のメールアドレスが通常通り表示されています。）

そこで質問です——インポーター・スクリプトは、送信者のアドレスを「From:」ヘッダーから取得するのでしょうか、それとも「From 」行から取得するのでしょうか？よろしくお願いいたします。

この件については、以前のスレッドで少し議論しました：[Working on a mailman2 to discourse migration script - #10 by dachary](https://meta.discourse.org/t/working-on-a-mailman2-to-discourse-migration-script/169220/10?u=jonathan5)

---

_[View the full topic](https://meta.discourse.org/t/migrate-a-mailing-list-to-discourse-mbox-listserv-google-groups-etc/79773)._
