# 外部メールアドレスリストとのグループメンバーシップの同期

**URL:** <https://meta.discourse.org/t/sync-group-membership-with-external-list-of-email-addresses/190552>\
**Category:** Product Support\
**Created:** [2021 年 5 月 16 日午前 11:08 UTC](https://meta.discourse.org/t/sync-group-membership-with-external-list-of-email-addresses/190552 "2021-05-16T11:08:23Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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 年 7 月 9 日午前 8:36 UTC](https://meta.discourse.org/t/sync-group-membership-with-external-list-of-email-addresses/190552/6 "2021-07-09T08:36:04Z")

</div>

ありがとうございます。

> [@pfaffman](#):
>
> カテゴリに投稿したユーザーを自動的にグループに追加する

そのカテゴリはグループのメンバーにしか表示されないため、ここで鶏と卵の問題が生じてしまいます！

私は PHP にかなり慣れているので、Mailman 2 からメールアドレスを取得するスクリプト（Python スクリプトが用意されています）を書いて、Discourse のユーザーリストと照合し、必要に応じて Discourse ユーザーを該当するグループに追加または削除するスクリプトを作成できると思います。あなたが「おそらく最悪の解決策」とおっしゃっていたことは承知しています…

まだメーリングリストのミラーリングをセットアップしていないので、現時点ではアイデアの段階です。

---

_[View the full topic](https://meta.discourse.org/t/sync-group-membership-with-external-list-of-email-addresses/190552)._
