# How to configure Discourse to receive email from Mailgun?

**URL:** <https://meta.discourse.org/t/how-to-configure-discourse-to-receive-email-from-mailgun/348670>\
**Category:** Product Support\
**Created:** [January 23, 2025, 7:18pm UTC](https://meta.discourse.org/t/how-to-configure-discourse-to-receive-email-from-mailgun/348670 "2025-01-23T19:18:01Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![exlabs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/exlabs/32/437527_2.png) [@exlabs](https://meta.discourse.org/u/exlabs)\
**Post date:** [January 27, 2025, 11:03am UTC](https://meta.discourse.org/t/how-to-configure-discourse-to-receive-email-from-mailgun/348670/9 "2025-01-27T11:03:00Z")

</div>

I already changed my MX records now so to avoid another 24-hour delay, I’m going to persevere with the mail-receiver approach.

> [@pfaffman](#):
>
> The mail receiver works on port 25,so treafik does not need to know about it.

This simplifies things very much. In this case, I can more or less just run the sample script without _any_ changes or integration with the traefix/docker-compose stack?

---

_[View the full topic](https://meta.discourse.org/t/how-to-configure-discourse-to-receive-email-from-mailgun/348670)._
