Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Loomio
  3. Incoming Email

Incoming Email

Scheduled Pinned Locked Moved Loomio
15 Posts 5 Posters 1.5k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    darren
    wrote on last edited by
    #1

    @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?

    girishG 1 Reply Last reply
    1
    • D darren

      @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?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @darren is there any docs around this ? There is no information in https://help.loomio.com/ (I searched for imap/incoming (e)mail/REPLY_HOSTNAME)

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        There is no IMAP related code that I can spot either - https://github.com/search?q=repo%3Aloomio%2Floomio+IMAP&type=code

        1 Reply Last reply
        0
        • D Offline
          D Offline
          darren
          wrote on last edited by
          #4

          @girish looking in the loomio-deploy github, I think the container for inbound email is loomio-mailin. Seems like they're using mailin vs an external IMAP connection

          1 Reply Last reply
          1
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            @darren thanks. mailin seems quite outdated (7 years ago). Looks like they tried to replace it upstream as well - https://github.com/loomio/loomio-deploy/issues/99 .

            robiR 1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              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 .

              jdaviescoatesJ 1 Reply Last reply
              1
              • D Offline
                D Offline
                darren
                wrote on last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0
                • girishG girish

                  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 .

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #8

                  @girish said in Incoming Email:

                  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 .

                  Did you ever get around to doing this?

                  I just installed Loomio and immediately tried to start a thread by email and was sad that it didn't Just Work as I've become accustomed to expect on Cloudron 🙂

                  I use Cloudron with Gandi & Hetzner

                  girishG 1 Reply Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

                    @girish said in Incoming Email:

                    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 .

                    Did you ever get around to doing this?

                    I just installed Loomio and immediately tried to start a thread by email and was sad that it didn't Just Work as I've become accustomed to expect on Cloudron 🙂

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    @jdaviescoates don't think so , no. Unless there is simpler setup, this is really hard to automate in Cloudron.

                    jdaviescoatesJ 1 Reply Last reply
                    0
                    • girishG girish

                      @jdaviescoates don't think so , no. Unless there is simpler setup, this is really hard to automate in Cloudron.

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #10

                      @girish that's a shame.

                      Being able to start and reply to threads by email is a core features of Loomio.

                      Without that we don't really have Loomio at all.

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • girishG girish

                        @darren thanks. mailin seems quite outdated (7 years ago). Looks like they tried to replace it upstream as well - https://github.com/loomio/loomio-deploy/issues/99 .

                        robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #11

                        @girish said in Incoming Email:

                        @darren thanks. mailin seems quite outdated (7 years ago). Looks like they tried to replace it upstream as well - https://github.com/loomio/loomio-deploy/issues/99 .

                        Looks like they did it already in Oct '24
                        https://github.com/loomio/haraka-rails-docker

                        This should work

                        Conscious tech

                        jdaviescoatesJ 1 Reply Last reply
                        2
                        • robiR robi

                          @girish said in Incoming Email:

                          @darren thanks. mailin seems quite outdated (7 years ago). Looks like they tried to replace it upstream as well - https://github.com/loomio/loomio-deploy/issues/99 .

                          Looks like they did it already in Oct '24
                          https://github.com/loomio/haraka-rails-docker

                          This should work

                          jdaviescoatesJ Offline
                          jdaviescoatesJ Offline
                          jdaviescoates
                          wrote on last edited by
                          #12

                          @robi said in Incoming Email:

                          @girish said in Incoming Email:

                          @darren thanks. mailin seems quite outdated (7 years ago). Looks like they tried to replace it upstream as well - https://github.com/loomio/loomio-deploy/issues/99 .
                          

                          Looks like they did it already in Oct '24
                          https://github.com/loomio/haraka-rails-docker

                          This should work

                          🙏

                          I use Cloudron with Gandi & Hetzner

                          jdaviescoatesJ 1 Reply Last reply
                          0
                          • jdaviescoatesJ jdaviescoates

                            @robi said in Incoming Email:

                            @girish said in Incoming Email:

                            @darren thanks. mailin seems quite outdated (7 years ago). Looks like they tried to replace it upstream as well - https://github.com/loomio/loomio-deploy/issues/99 .
                            

                            Looks like they did it already in Oct '24
                            https://github.com/loomio/haraka-rails-docker

                            This should work

                            🙏

                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by jdaviescoates
                            #13

                            @jdaviescoates I'd really like to start using Loomio with a group that involves people in their 80s who would be orders of magnitude more likely and able to participate if they could do so via email and so I'm really hoping @staff can take a look to see if the updated email stuff @robi shared above means that we might be able to get incoming email working for Loomio! 🙏

                            I use Cloudron with Gandi & Hetzner

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              joseph
                              Staff
                              wrote on last edited by joseph
                              #14

                              Not related to the problem, but simply curious why email flow is required other than something fancy ? Practically all tools I have used in previous companies are web based. In fact, it's explicitly disabled to reply via email for internal forums and enterprise github . The mail parsers are often buggy and the injesters get the timestamp wrong and mix comments ordering incorrectly. Email can also be forged (not to mention spam) and you have to worry about integrity. It's just a world of pain for no benefit (other than people holding on to replying via email on emacs 😄 ).

                              jdaviescoatesJ 1 Reply Last reply
                              1
                              • J joseph

                                Not related to the problem, but simply curious why email flow is required other than something fancy ? Practically all tools I have used in previous companies are web based. In fact, it's explicitly disabled to reply via email for internal forums and enterprise github . The mail parsers are often buggy and the injesters get the timestamp wrong and mix comments ordering incorrectly. Email can also be forged (not to mention spam) and you have to worry about integrity. It's just a world of pain for no benefit (other than people holding on to replying via email on emacs 😄 ).

                                jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #15

                                @joseph said in Incoming Email:

                                It's just a world of pain for no benefit

                                There are still LOADS of people (including my friend and group member who is 85 years old) who are still MUCH more comfortable with emails than web or phone apps.

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply
                                1
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Bookmarks
                                • Search