# DiscourseとStalwart-mailによる完全独立メール

**URL:** <https://meta.discourse.org/t/fully-independent-email-with-discourse-and-stalwart-mail/314490>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [2024 年 7 月 1 日午後 5:41 UTC](https://meta.discourse.org/t/fully-independent-email-with-discourse-and-stalwart-mail/314490 "2024-07-01T17:41:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![hellekin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hellekin/32/51636_2.png) [@hellekin](https://meta.discourse.org/u/hellekin)\
**Post date:** [2024 年 7 月 1 日午後 8:46 UTC](https://meta.discourse.org/t/fully-independent-email-with-discourse-and-stalwart-mail/314490/3 "2024-07-01T20:46:04Z")

</div>

はい、複数のドメインを簡単にサポートできます。

まずドメインを追加すると、MX（メール交換）を設定するためのDNSレコードが提供されます。すべてのドメインで同じMXが使用されます。

Stalwart-mailをDiscourseと同じマシンで実行するのは簡単はずです。どちらもTLSポート443を必要とするため、そのポートでプロキシを使用して両方のサービスに送信することになります。しかし、Discourseごとにインスタンスを1つ持つことはあまり意味がありません。2つを分離する方が、メールインフラストラクチャを簡単にスケールアップし、Discourseだけでなくより多くのニーズに対応できるため、より良いでしょう。

参考までに、CPX21（RAM 4 GB、vCPU 3 x86 AMD、ストレージ 80 GB）のHetzner VPSで、約30アカウント、12以上のドメイン、フルログオンでStalwart-mailを実行していましたが、RAMは564 MB、ストレージは7 GB（ほとんどがOS）でした。Stalwart-mailは184 MBの常駐RAM（全RAMの5％未満、仮想メモリ1.2 GB）を主張しています。

---

_[View the full topic](https://meta.discourse.org/t/fully-independent-email-with-discourse-and-stalwart-mail/314490)._
