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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. Incoming Email: cannot open mailbox

Incoming Email: cannot open mailbox

Scheduled Pinned Locked Moved Discourse
25 Posts 4 Posters 229 Views 4 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.
  • nebulonN nebulon

    If you open a webterminal into your app instance you can try telnet mail 9595 to see if telnet is able to connect on the pop3 port. You should see this:

    root@c5a31d99-2479-4c15-9f9f-b10ed96a3886:/app/code# telnet mail 9595
    Trying fd00:c107:d509::4...
    Connected to mail.
    Escape character is '^]'.
    +OK Dovecot (Ubuntu) ready.
    
    P Offline
    P Offline
    pHneutre
    wrote last edited by
    #14

    @nebulon I get exactly that (except for the IP address ofc).

    1 Reply Last reply
    0
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote last edited by
      #15

      huh an yet if ou use 9595 with mail as the host in discourse you still get timeouts?

      P 1 Reply Last reply
      0
      • nebulonN nebulon

        huh an yet if ou use 9595 with mail as the host in discourse you still get timeouts?

        P Offline
        P Offline
        pHneutre
        wrote last edited by
        #16

        @nebulon
        Yes:
        e2dd03d0-9a25-4564-b7e3-54f27dcb72e5-image.jpeg

        What do you exactly mean by "with mail as the host in discourse" ? My Discourse settings are as above. Host is the default one (my) :
        74f99d00-ae76-438b-8d4e-a5cc917312ba-image.jpeg

        1 Reply Last reply
        0
        • nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote last edited by
          #17

          Ah try mail as the hostname instead of the dashboard domain. This would resolve to the local IP of the mail server and not the external interface.

          P 1 Reply Last reply
          0
          • nebulonN nebulon

            Ah try mail as the hostname instead of the dashboard domain. This would resolve to the local IP of the mail server and not the external interface.

            P Offline
            P Offline
            pHneutre
            wrote last edited by
            #18

            @nebulon This will move the whole cloudron instance's mail server to this name. Aren't there any references I should worry about when doing this? (we're hosting a bunch of services, I don't know all of them)

            jdaviescoatesJ 1 Reply Last reply
            0
            • nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote last edited by
              #19

              Ah sorry, I might not have been clearly communicating. I was referring to the configuration within discourse, use mail there as the mail server host.

              1 Reply Last reply
              0
              • P pHneutre

                @nebulon This will move the whole cloudron instance's mail server to this name. Aren't there any references I should worry about when doing this? (we're hosting a bunch of services, I don't know all of them)

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote last edited by
                #20

                @pHneutre I could be wrong, but I think @nebulon is just suggesting that instead of my.solectic.cloud in the POP3 polling host field shown below, you just put mail

                acad1740-df6f-404f-987d-2cca23238dcf-image.jpeg

                I could be wrong, but I don't think he's suggesting updating the Server location as per https://docs.cloudron.io/email#server-location

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  pHneutre
                  wrote last edited by
                  #21

                  When changing POP3 polling host from my.soletic.cloud to mail (the name on the local network?), I get :

                  88643348-ab5b-490f-a4d2-aed9fd952fd9-image.jpeg

                  If I try mail.soletic.cloud (public address just in case?), I get:

                  1537875e-702f-4a99-a9be-88cd6829e923-image.jpeg

                  1 Reply Last reply
                  0
                  • jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote last edited by
                    #22

                    I was just guessing, could easily be wrong. I guess @nebulon will have to be a little clearer/ more explicit about exactly what he's asking you to try 🙂

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote last edited by
                      #23

                      Ah great so you were able to at least connect using mail as the hostname. That is the correct way to configure an app on Cloudron. This is also why the environment variables expose that alongside the authentication details, which is now what is apparently wrong in your case. The username and password are the ones in CLOUDRON_MAIL_IMAP_USERNAME and CLOUDRON_MAIL_IMAP_PASSWORD . Can you double check that you used those in discourse?

                      P 1 Reply Last reply
                      0
                      • nebulonN nebulon

                        Ah great so you were able to at least connect using mail as the hostname. That is the correct way to configure an app on Cloudron. This is also why the environment variables expose that alongside the authentication details, which is now what is apparently wrong in your case. The username and password are the ones in CLOUDRON_MAIL_IMAP_USERNAME and CLOUDRON_MAIL_IMAP_PASSWORD . Can you double check that you used those in discourse?

                        P Offline
                        P Offline
                        pHneutre
                        wrote last edited by
                        #24

                        @nebulon FINALLY! the mail arrived. So, Discourse was not correctly configured, as for the POP3 host and password. Good to know, I'll document that internally.

                        Thanks a lot, I really appreciate the time and thouroughness!

                        1 Reply Last reply
                        0
                        • nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote last edited by
                          #25

                          Glad it worked out in the end. It is probably not obvious also to use the credentials from the env variables which have IMAP in them....

                          1 Reply Last reply
                          0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          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