# 有人用过 Apache James 作为自托管 Discourse 的 SMTP 服务器吗？

**URL:** <https://meta.discourse.org/t/has-anyone-used-apache-james-as-an-smtp-server-for-self-hosted-discourse/418546>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [2026 年11 月 28 日 15:25 UTC](https://meta.discourse.org/t/has-anyone-used-apache-james-as-an-smtp-server-for-self-hosted-discourse/418546 "2026-11-28T15:25:32Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

作者： ![elmuerte](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elmuerte/32/456517_2.png) [@elmuerte](https://meta.discourse.org/u/elmuerte)\
发布日期： [2026 年11 月 29 日 06:51 UTC](https://meta.discourse.org/t/has-anyone-used-apache-james-as-an-smtp-server-for-self-hosted-discourse/418546/4 "2026-11-29T06:51:16Z")

</div>

在这件事上，最棘手的一方是微软。要想让他们允许你的 IP 向其发送邮件，需要费很大劲。我参考了这份指南：[Guide - How to unblock from Microsoft / Hotmail / Live - Maintenance - Mail-in-a-Box Forum](https://discourse.mailinabox.email/t/guide-how-to-unblock-from-microsoft-hotmail-live/7779)

在其他地方我倒是没遇到过什么实质性的问题，除了那些糟糕的“黑名单”，它们直接屏蔽整个托管公司的 IP 段，并以此对服务器进行勒索（也就是说，你需要定期向他们付费才能从这些名单上移除）。这些黑名单很少导致邮件被实际拒收，只是提高了垃圾邮件过滤器的拦截阈值。

因此，你要么将用户隐私和安全交给科技巨头来处理邮件发送，要么尝试自己管理邮件。还有一个选项是向一些规模较小的邮件服务商支付（相当多的）费用来发送邮件。但即便如此，你可能仍面临隐私和安全方面的风险，并且依然会遇到与自己配置 SMTP 发送时相同的邮件投递问题。

---

_[View the full topic](https://meta.discourse.org/t/has-anyone-used-apache-james-as-an-smtp-server-for-self-hosted-discourse/418546)._
