# Debugging email problem and/or rebuilding discourse

**URL:** https://meta.discourse.org/t/debugging-email-problem-and-or-rebuilding-discourse/86382
**Category:** Self-hosting
**Created:** [April 29, 2018, 1:25am UTC](https://meta.discourse.org/t/debugging-email-problem-and-or-rebuilding-discourse/86382 "2018-04-29T01:25:04Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![kendollard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kendollard/32/95749_2.png) [@kendollard](https://meta.discourse.org/u/kendollard)
#### Post date: [May 4, 2018, 3:41pm UTC](https://meta.discourse.org/t/debugging-email-problem-and-or-rebuilding-discourse/86382/7 "2018-05-04T15:41:19Z")

</div>

Like another person, I setup mailgun and it is now working without a problem. I suspect someones post about how discourse was send EHLO localhost.localdomain could be the problem. The G-Suite instructions say it automatically rejects any SMTP session that sends a bogus hostname like that.

Eventually, I will know enough to fix that, but I haven’t a clue so far. It would be nice to know how to change that, in case that is the problem with gmail.

---

_[View the full topic](https://meta.discourse.org/t/debugging-email-problem-and-or-rebuilding-discourse/86382)._
