Incoming Email
-
@nebulon said in Loomio - Package Updates:
We've included the new "email to group" feature. This means as a member of a group, you can send or forward an email to your group email address and it will become a new thread in the group.
I'm trying to get incoming email to work. Right now, the log isn't showing any mailin errors but no inbound email functionality seems to be working.
I've added a and mx records to my DNS
A loomio.domain.com, cloudron_IP MX loomio.domain.com, loomio.domain.com, priority 0
I've also configured the reply-to hostname in env.sh
# reply-to in email notifications export REPLY_HOSTNAME=loomio.domain.com
And for good measure even changed the app's MAIL FROM address to originate from my desired subdomain (loomio.domain.com) so that we're not presenting multiple email hosts to end users.
What else might I need to do to get inbound email working?
-
OK, https://github.com/loomio/mailin-docker/blob/master/Dockerfile is the Dockerfile. mailin listens on port 25 and calls a webhook. Listening on port 25 won't work on Cloudron, so that solution is unviable. We have to write a standalone script that scans IMAP mailbox and calls the wekhook. mailin code that calls the webhook is at https://github.com/loomio/mailin/blob/master/lib/mailin.js .