Getting relay access denied errors in email replies

AI-generated summary

Solari, new to Discourse, reported that email replies stopped working after changing their domain to nomadverse.com, despite outgoing emails and SMTP settings (via MailJet) functioning correctly. The error log showed “Relay access denied” when emails were sent to the reply address (replies+%{reply_key}@nomadverse.com), suggesting a misconfiguration. Stephen suggested checking whether the domain in the mail-receiver container’s configuration was updated — and if so, rebuilding the container. Solari confirmed this fixed the issue, expressing gratitude to Stephen. The root cause was likely an outdated domain in the mail-receiver container, which needed a rebuild after the domain change to accept incoming replies properly.

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:

-- 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:

    <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, 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

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

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

Ray