When I reply by email and inspect the logs with ./launcher logs mail-receiver I get the follwing.
Operating environment:
RUBYGEMS_VERSION=2.7.7
MAIL_DOMAIN=reply.EXAMPLE.com
BUNDLER_VERSION=1.16.3
DISCOURSE_API_USERNAME=system
LANG=en_US.UTF-8
HOSTNAME=discourse-beta-ubuntu-s-4vcpu-8gb-nyc1-01-mail-receiver
RUBY_VERSION=2.3.7
GEM_HOME=/usr/local/bundle
PWD=/
HOME=/root
DISCOURSE_API_KEY=REMOVE
BUNDLE_PATH=/usr/local/bundle
BUNDLE_APP_CONFIG=/usr/local/bundle
TERM=xterm
BUNDLE_SILENCE_ROOT_WARNING=1
RUBY_MAJOR=2.3
SHLVL=1
RUBY_DOWNLOAD_SHA256=c61f8f2b9d3ffff5567e186421fa191f0d5e7c2b189b426bb84498825d548edb
PATH=/usr/local/bundle/bin:/usr/local/bundle/gems/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DISCOURSE_MAIL_ENDPOINT=http://discuss.EXAMPLE.com.com/admin/email/handle_mail
DOCKER_HOST_IP=172.17.0.1
_=/usr/bin/env
Delivering mail sent to reply.EXAMPLE.com to Discourse
Starting Postfix
Looks like I’m getting a status of “sent” in the logs, however the reply is not showing up in discourse. Any thoughts here? This only started to happen after I migrated from AWS to DO.
in mail-receiver.yml I have base_image: discourse/mail-receiver:release and do not see an error message about the mail-receiver being old. I’ve rebuilt the mail-receiver many times.
I do not see any email as rejected here: /admin/email/rejected
I did issue a new API key for user system with all privileges. I’m using that in mail-receiver.yml. I was thinking the API was the issue, but I’ve check the numbers match a few times.
The level of my stupidity is insane. I deserve a massive dunce hat.
Connecting to discuss.360velo.com.com (199.59.242.154:80).
com.com… ??? I had the wrong DISCOURSE_MAIL_ENDPOINT. I had two .com.com in the URL and i should have been using https rather than http. Thank you very much for pointing me in the right direction.