NOQUEUE: reject using Direct Email Delivery

I have a new discourse installation and am setting up Direct Email Delivery according to these instructions: [Straightforward direct-delivery incoming mail]

I have this working on a different forum, no problem. However, on the new forum no inbound emails are getting delivered. When running ./launcher logs mail-receiver I see the email message is getting rejected. Any thoughts on trouble shooting? I’m getting this error from different email addresses.

I checked the API key - it’s correct
I disabled spam protection
I checked all the email addresses in the setup, they are correct.


<22>Nov 30 00:47:01 postfix/smtpd[267]: connect from[]
<22>Nov 30 00:47:01 postfix/smtpd[267]: NOQUEUE: reject: RCPT from[]: 454 4.7.1 <>: Relay access denied; from=<> to=<> proto=ESMTP helo=<>
<22>Nov 30 00:47:01 postfix/smtpd[267]: disconnect from[] ehlo=1 mail=1 rcpt=0/1 data=0/1 quit=1 commands=3/5
<22>Nov 30 00:50:09 postfix/anvil[262]: statistics: max connection rate 2/60s for (smtp: at Nov 30 00:44:21
<22>Nov 30 00:50:09 postfix/anvil[262]: statistics: max connection count 1 for (smtp: at Nov 30 00:40:08
<22>Nov 30 00:50:09 postfix/anvil[262]: statistics: max cache size 2 at Nov 30 00:42:15

MAIL_DOMAIN isn’t set to


EL = endurancelab . I redacted it

sorry… total Dummy

To bring closure to anyone else with this issue…

Here is my mistake:

should he

MAIL_DOMAIN needs to match reply by email address

Thank you!!