# Use local email server/sendmail for outgoing emails?

**URL:** <https://meta.discourse.org/t/use-local-email-server-sendmail-for-outgoing-emails/381354>\
**Category:** Self-hosting\
**Tags:** email, hosting\
**Created:** [September 2, 2025, 6:55pm UTC](https://meta.discourse.org/t/use-local-email-server-sendmail-for-outgoing-emails/381354 "2025-09-02T18:55:41Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![MichaIng](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaing/32/251089_2.png) [@MichaIng](https://meta.discourse.org/u/MichaIng)\
**Post date:** [September 29, 2025, 12:11pm UTC](https://meta.discourse.org/t/use-local-email-server-sendmail-for-outgoing-emails/381354/10 "2025-09-29T12:11:47Z")

</div>

What’s wrong with Postfix? It was part of the first mail server setup guide I read, and its internal filter options to reduce spam and bot access early in the pipeline seemed a good argument.

Well, kinda off topic, regarding `sendmail`/pickup usage from Discourse.

Marking this as solved/answered. It makes sense that the Discourse container cannot access the host’s sendmail, no matter which server. So it needs to use SMTP submission, for which one can authenticate e.g. via Docker container IP range in Postfix, skipping passdb/userdb authentication on Dovecot.

---

_[View the full topic](https://meta.discourse.org/t/use-local-email-server-sendmail-for-outgoing-emails/381354)._
