# Configure direct-delivery incoming email for self-hosted sites with Mail-Receiver

**URL:** https://meta.discourse.org/t/configure-direct-delivery-incoming-email-for-self-hosted-sites-with-mail-receiver/49487
**Category:** Self-Hosting
**Tags:** email, how-to, advanced-setup, mail-receiver
**Created:** [August 31, 2016, 10:58am UTC](https://meta.discourse.org/t/configure-direct-delivery-incoming-email-for-self-hosted-sites-with-mail-receiver/49487 "2016-08-31T10:58:09Z")
**Posts on this page:** 1
**Showing post:** 475

<div class="post-metadata">

### Author: ![Carleas](https://avatars.discourse-cdn.com/v4/letter/c/57b2e6/32.png) [@Carleas](https://meta.discourse.org/u/Carleas)
#### Post date: [March 19, 2024, 1:33pm UTC](https://meta.discourse.org/t/configure-direct-delivery-incoming-email-for-self-hosted-sites-with-mail-receiver/49487/475 "2024-03-19T13:33:58Z")

</div>

Thanks for your reply. I’ve checked MAIL\_DOMAIN every way I can imagine, I’ve tried every combination of MAIL\_DOMAIN value and destination email address. What value in the Discourse setup is it checked against e.g. DISCOURSE\_HOSTNAME, DISCOURSE\_SMTP\_DOMAIN, something else?

I’m a bit confused by your second suggestion given this line in the OP:

> [@Discourse](#):
>
> While Discourse won’t do anything _useful_ with it yet, the e-mail you sent should show up in your admin panel under “Emails”, “Rejected” in a matter of seconds.

Shouldn’t rejections show up even before Discourse is set up to do anything with them? Bounces aren’t showing up either, I’ve tested using the method recommended here: [Configure VERP to handle bouncing e-mails](https://meta.discourse.org/t/configure-verp-to-handle-bouncing-e-mails/45343). No trace of anything `on admin/email`.

Is there a log in either container that shows (or could be configured to show) more information about the interaction between `mail-receiver` and `app` are interacting?

---

_[View the full topic](https://meta.discourse.org/t/configure-direct-delivery-incoming-email-for-self-hosted-sites-with-mail-receiver/49487)._
