# Getting relay access denied errors in email replies

**URL:** https://meta.discourse.org/t/getting-relay-access-denied-errors-in-email-replies/158812
**Category:** Self-hosting
**Tags:** mail-receiver
**Created:** [July 26, 2020, 4:01am UTC](https://meta.discourse.org/t/getting-relay-access-denied-errors-in-email-replies/158812 "2020-07-26T04:01:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Solari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solari/32/186728_2.png) [@Solari](https://meta.discourse.org/u/Solari)
#### Post date: [July 26, 2020, 4:01am UTC](https://meta.discourse.org/t/getting-relay-access-denied-errors-in-email-replies/158812/1 "2020-07-26T04:01:41Z")

</div>

Hi folks, am new here but very much enjoying tinkering with Discourse. : )

I recently changed the domain name and for some reason replying via email stopped working. I can’t seem to get to the bottom of it. Everything else works other than this pesky issue even after a couple rebuilds.

Outgoing emails work fine also.

(As info, email receiving was working fine on the prior domain before the change.)

I’ve checked these settings:

```plaintext
-- in app.yml: DISCOURSE_HOSTNAME: nomadverse.com (correct)
-- confirmed SMTP settings work 
-- In MailJet (for SMTP), all settings appear good and DKIM, SPF, etc set properly.
-- in settings, "notification email" is set to noreply@nomadverse.com
-- in settings, "reply by email address" is set to replies+%{reply_key}@nomadverse.com

```

In launcher logs for mail-receiver after replying via email, I see this error:

```plaintext
    <22>Jul 26 03:43:49 postfix/smtpd[1142]: NOQUEUE: reject: RCPT from web1.gatorcountry.com[67.225.189.169]: 454 4.7.1 <replies+6d18bcc79ead5fb5466dc788580fd4af@nomadverse.com>: Relay access denied; from=<yak@gatorcountry.com> to=<replies+6d18bcc79ead5fb5466dc788580fd4af@nomadverse.com> proto=ESMTP helo=<web1.gatorcountry.com>

```

There are similar errors from [gmail.com](http://gmail.com), etc. in the log.

So it appears to be some sort of relay error – is this why replies are not coming in? I’m a bit of a novice to this so am not sure how to proceed from here.

Appreciate any help!

Thanks

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [July 26, 2020, 5:31am UTC](https://meta.discourse.org/t/getting-relay-access-denied-errors-in-email-replies/158812/2 "2020-07-26T05:31:23Z")

</div>

Did you update the domain specified in the mail-receiver yml? If so you need to rebuild that container.

---

<div class="post-metadata">

### Author: ![Solari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/solari/32/186728_2.png) [@Solari](https://meta.discourse.org/u/Solari)
#### Post date: [July 26, 2020, 3:36pm UTC](https://meta.discourse.org/t/getting-relay-access-denied-errors-in-email-replies/158812/3 "2020-07-26T15:36:25Z")

</div>

Well sheet, that did the trick! Thanks for the help, @Stephen!

Ray

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [August 25, 2020, 3:36pm UTC](https://meta.discourse.org/t/getting-relay-access-denied-errors-in-email-replies/158812/4 "2020-08-25T15:36:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
