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. Discourse
  3. Discourse and incoming email

Discourse and incoming email

Scheduled Pinned Locked Moved Solved Discourse
discourse
45 Posts 11 Posters 7.2k Views 12 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.
  • bmannB Offline
    bmannB Offline
    bmann
    wrote on last edited by
    #9

    I am in the same boat.

    Discourse has IMAP support but only for group inboxes, not for "reply by email".

    Discourse was one of the big apps I want to be running on Cloudron, and having to add an external email provider just for POP3 really sucks.

    Discourse has their "mail receiver" docker container that runs all of this for you if you self install elsewhere, and works really well.

    "Don't run Discourse on Cloudron" seems like a bad solution. Is this on a backlog somewhere to solve?

    jdaviescoatesJ girishG 2 Replies Last reply
    2
    • bmannB bmann

      I am in the same boat.

      Discourse has IMAP support but only for group inboxes, not for "reply by email".

      Discourse was one of the big apps I want to be running on Cloudron, and having to add an external email provider just for POP3 really sucks.

      Discourse has their "mail receiver" docker container that runs all of this for you if you self install elsewhere, and works really well.

      "Don't run Discourse on Cloudron" seems like a bad solution. Is this on a backlog somewhere to solve?

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

      @bmann I hadn't realised "reply by email" doesn't work on Cloudron, but if that's the case then that is a rather major issue that really ought to have @staff attention imho. It's a core feature of Discourse that many people familiar with Discourse have come to expect.

      I'm not sure, but I think it's basically the same/ a related issue @jimcavoli has been hitting when trying to package Loomio, see:

      https://forum.cloudron.io/post/35429

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      1
      • robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #11

        Does "reply-by-email" work for NodeBB?

        Conscious tech

        1 Reply Last reply
        2
        • bmannB bmann

          I am in the same boat.

          Discourse has IMAP support but only for group inboxes, not for "reply by email".

          Discourse was one of the big apps I want to be running on Cloudron, and having to add an external email provider just for POP3 really sucks.

          Discourse has their "mail receiver" docker container that runs all of this for you if you self install elsewhere, and works really well.

          "Don't run Discourse on Cloudron" seems like a bad solution. Is this on a backlog somewhere to solve?

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

          @bmann I guess https://github.com/discourse/mail-receiver is the repo? Did I understand correctly that it can be run on a separate server and hooked up to Cloudron+Discourse install? (Of course, ideally, we can have this all part of the Cloudron package itself or maybe a separate Cloudron package)

          1 Reply Last reply
          2
          • E Offline
            E Offline
            eddowding
            wrote on last edited by
            #13

            Argh. Just gone through a lengthy process of getting Discourse set up - and it was a big part of choosing Cloudron - only to find this thread.

            This is challenging, even though there is an answer.

            1. Any solutions?
            2. Does NodeBB do inbound? On Cloudron?
            3. Can this be done with Mailgun instead?
            girishG jdaviescoatesJ 2 Replies Last reply
            1
            • E eddowding

              Argh. Just gone through a lengthy process of getting Discourse set up - and it was a big part of choosing Cloudron - only to find this thread.

              This is challenging, even though there is an answer.

              1. Any solutions?
              2. Does NodeBB do inbound? On Cloudron?
              3. Can this be done with Mailgun instead?
              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #14

              @eddowding nodebb doesn't do inbound afaik. Incidentally, I was looking into making our recvmail addon work. Let me look into if it's easy to enable POP3 at a mailbox level.

              E 1 Reply Last reply
              2
              • girishG girish

                @eddowding nodebb doesn't do inbound afaik. Incidentally, I was looking into making our recvmail addon work. Let me look into if it's easy to enable POP3 at a mailbox level.

                E Offline
                E Offline
                eddowding
                wrote on last edited by
                #15

                @girish thanks - here's hoping.

                Would this be a quick-to-deploy solution?

                girishG 1 Reply Last reply
                0
                • E eddowding

                  Argh. Just gone through a lengthy process of getting Discourse set up - and it was a big part of choosing Cloudron - only to find this thread.

                  This is challenging, even though there is an answer.

                  1. Any solutions?
                  2. Does NodeBB do inbound? On Cloudron?
                  3. Can this be done with Mailgun instead?
                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #16

                  @eddowding said in Discourse and incoming email:

                  Can this be done with Mailgun instead?

                  I've not tried it yet, but I think there is a new option when installing apps to not use Cloudron for mail at all and to just configure it all within the app itself. I guess that might work @staff ?

                  I use Cloudron with Gandi & Hetzner

                  girishG 1 Reply Last reply
                  1
                  • jdaviescoatesJ jdaviescoates

                    @eddowding said in Discourse and incoming email:

                    Can this be done with Mailgun instead?

                    I've not tried it yet, but I think there is a new option when installing apps to not use Cloudron for mail at all and to just configure it all within the app itself. I guess that might work @staff ?

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

                    @jdaviescoates That feature is for used for configuring apps that send email. @eddowding wants a way for an app to receive email.

                    jdaviescoatesJ 1 Reply Last reply
                    1
                    • E eddowding

                      @girish thanks - here's hoping.

                      Would this be a quick-to-deploy solution?

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

                      @eddowding yes, it will be part of update (if we implement it). Just to double check, this feature only makes sense if your domain's email is also hosted on Cloudron. Is that the case with your setup?

                      E 1 Reply Last reply
                      1
                      • girishG girish

                        @jdaviescoates That feature is for used for configuring apps that send email. @eddowding wants a way for an app to receive email.

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

                        @girish said in Discourse and incoming email:

                        @jdaviescoates That feature is for used for configuring apps that send email. @eddowding wants a way for an app to receive email.

                        I realised @eddowding wants to receive email (and I think it's really quite bad that Discourse is a Stable App but doesn't have some of it's basic features packaged, nor any warning of those missing features. Indeed when installing that app it says "Use it as a: mailing list" which you can't do if it can't receive mail), I just figured Mailgun details or whatever could be entered somewhere into Discourse settings and that might work. I guess you're saying that wouldn't work but I don't think I really understand why that would be the case 🙂

                        I use Cloudron with Gandi & Hetzner

                        girishG 1 Reply Last reply
                        1
                        • jdaviescoatesJ jdaviescoates

                          @girish said in Discourse and incoming email:

                          @jdaviescoates That feature is for used for configuring apps that send email. @eddowding wants a way for an app to receive email.

                          I realised @eddowding wants to receive email (and I think it's really quite bad that Discourse is a Stable App but doesn't have some of it's basic features packaged, nor any warning of those missing features. Indeed when installing that app it says "Use it as a: mailing list" which you can't do if it can't receive mail), I just figured Mailgun details or whatever could be entered somewhere into Discourse settings and that might work. I guess you're saying that wouldn't work but I don't think I really understand why that would be the case 🙂

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

                          @jdaviescoates It's debatable if mailing list is a basic feature for forum software (though it seems the description comes from https://github.com/discourse/discourse#readme and I am reluctant to remove it since this is what the upstream devs think ) 🙂

                          That said, you can use it as a mailing list, just not if the email domain is hosted on Cloudron since we don't support POP3 yet. I also don't know why they only support POP3 when all other apps support IMAP (gitlab, freescout, espocrm for example). Anyone have any background on this?

                          E jdaviescoatesJ 2 Replies Last reply
                          1
                          • girishG girish

                            @eddowding yes, it will be part of update (if we implement it). Just to double check, this feature only makes sense if your domain's email is also hosted on Cloudron. Is that the case with your setup?

                            E Offline
                            E Offline
                            eddowding
                            wrote on last edited by
                            #21

                            @girish Yep email is / can be hosted here too for this domain.

                            1 Reply Last reply
                            1
                            • girishG girish

                              @jdaviescoates It's debatable if mailing list is a basic feature for forum software (though it seems the description comes from https://github.com/discourse/discourse#readme and I am reluctant to remove it since this is what the upstream devs think ) 🙂

                              That said, you can use it as a mailing list, just not if the email domain is hosted on Cloudron since we don't support POP3 yet. I also don't know why they only support POP3 when all other apps support IMAP (gitlab, freescout, espocrm for example). Anyone have any background on this?

                              E Offline
                              E Offline
                              eddowding
                              wrote on last edited by
                              #22

                              @girish https://meta.discourse.org/t/configuring-reply-via-email/42026

                              1 Reply Last reply
                              1
                              • girishG girish

                                @jdaviescoates It's debatable if mailing list is a basic feature for forum software (though it seems the description comes from https://github.com/discourse/discourse#readme and I am reluctant to remove it since this is what the upstream devs think ) 🙂

                                That said, you can use it as a mailing list, just not if the email domain is hosted on Cloudron since we don't support POP3 yet. I also don't know why they only support POP3 when all other apps support IMAP (gitlab, freescout, espocrm for example). Anyone have any background on this?

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

                                @girish said in Discourse and incoming email:

                                I also don't know why they only support POP3

                                Yes, it does seem odd.

                                Although it sounds like it's not the only way:

                                Pushing emails via the Discourse API

                                Alternatively, you can push emails to Discourse via the API. For that, you will need

                                To check the manual_polling_enabled site setting.
                                A master API key 138 or an API key associated to a staff member.
                                

                                Then, to push an email to Discourse, you need to pass the raw email content as the “email” parameter when POSTing to “/admin/email/handle_mail”. The endpoint accepts application/json (recommended), multipart/form-data, or application/x-www-urlencoded request bodies (with an appropriate request Content-Type header, naturally).

                                You’re done

                                From the link @eddowding posted above

                                Edit: also, this thread should not be marked as solved, as this issue has not yet been solved.

                                I use Cloudron with Gandi & Hetzner

                                E 1 Reply Last reply
                                1
                                • E eddowding referenced this topic on
                                • jdaviescoatesJ jdaviescoates

                                  @girish said in Discourse and incoming email:

                                  I also don't know why they only support POP3

                                  Yes, it does seem odd.

                                  Although it sounds like it's not the only way:

                                  Pushing emails via the Discourse API

                                  Alternatively, you can push emails to Discourse via the API. For that, you will need

                                  To check the manual_polling_enabled site setting.
                                  A master API key 138 or an API key associated to a staff member.
                                  

                                  Then, to push an email to Discourse, you need to pass the raw email content as the “email” parameter when POSTing to “/admin/email/handle_mail”. The endpoint accepts application/json (recommended), multipart/form-data, or application/x-www-urlencoded request bodies (with an appropriate request Content-Type header, naturally).

                                  You’re done

                                  From the link @eddowding posted above

                                  Edit: also, this thread should not be marked as solved, as this issue has not yet been solved.

                                  E Offline
                                  E Offline
                                  eddowding
                                  wrote on last edited by eddowding
                                  #24

                                  I'd love to use the API but it's far from obvious if that's actually possible on Cloudron. @jenny_molloy's opening post suggests it's not.

                                  https://meta.discourse.org/t/direct-delivery-incoming-email-for-self-hosted-sites/49487

                                  @jdaviescoates

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

                                    POP3 is enabled in the next release. Though, I haven't tried if Discourse works well with that.

                                    1 Reply Last reply
                                    3
                                    • nebulonN Offline
                                      nebulonN Offline
                                      nebulon
                                      Staff
                                      wrote on last edited by
                                      #26

                                      To give an update on this. Currently the package lacks the pre-setup of the pop3 configs, this is under way, however even then I wasn't able to make use of that feature properly, despite the app receiving the emails. May just be that I haven't fully grasped how it is supposed to work.

                                      jdaviescoatesJ 1 Reply Last reply
                                      1
                                      • nebulonN nebulon

                                        To give an update on this. Currently the package lacks the pre-setup of the pop3 configs, this is under way, however even then I wasn't able to make use of that feature properly, despite the app receiving the emails. May just be that I haven't fully grasped how it is supposed to work.

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

                                        @nebulon great that this is finally moving forward. IMHO it's really very important that we get this working as it's a core feature of Discourse.

                                        Let me know if I can help testing 🙂

                                        I use Cloudron with Gandi & Hetzner

                                        N 1 Reply Last reply
                                        1
                                        • nebulonN Offline
                                          nebulonN Offline
                                          nebulon
                                          Staff
                                          wrote on last edited by
                                          #28

                                          For a start I have published a new app package which does the pre-setup of the email receiving part.

                                          Just to be clear, the transactional emails for discourse are using a different email address.

                                          So far I haven't been able to configure it to actually accept any emails for forum threads, however it does process it now, so maybe I am just missing something small.

                                          1 Reply Last reply
                                          4
                                          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