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
13 Posts 3 Posters 195 Views 3 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.
  • jamesJ james

    Hello @phneutre
    Where does the 9595 port come from?
    Cloudron uses port 995 for pop3 according to https://docs.cloudron.io/email#pop3

    P Offline
    P Offline
    pHneutre
    wrote last edited by
    #3

    @james I don't know but it was a bad example, I've got this error for 995 as well:
    236028b6-d584-4298-82b2-5327b4dcec68-image.jpeg

    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote last edited by james
      #4

      Hello @phneutre
      Did you setup the wildcard alias according to the docs?
      https://docs.cloudron.io/packages/discourse/#incoming-email-setup

      For unique addresses per category, setup mail aliases for forum@YourMailDomain.TLD. For a category named offtopic, create a mail alias like forum@YourMailDomain.TLD. Create a wildcard mail alias * to choose any category name freely.

      P 1 Reply Last reply
      1
      • jamesJ james

        Hello @phneutre
        Did you setup the wildcard alias according to the docs?
        https://docs.cloudron.io/packages/discourse/#incoming-email-setup

        For unique addresses per category, setup mail aliases for forum@YourMailDomain.TLD. For a category named offtopic, create a mail alias like forum@YourMailDomain.TLD. Create a wildcard mail alias * to choose any category name freely.

        P Offline
        P Offline
        pHneutre
        wrote last edited by
        #5

        @james I didn't realize it was necessary, thanks.
        I set it up on the 10th of march at 17:49. From this moment, the Discourse logs hasn't shown any TCP timeout on 995 anymore. But mails remain ineffective.
        These errors remain afterwards:

        5848241d-dba7-40fe-b9d8-c00f6d43de97-image.jpeg
        I suspect the SMTPServerBusy reveals a new problem?

        1 Reply Last reply
        1
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote last edited by
          #6

          Hello @phneutre

          Can you share your Discourse configuration?

          P 1 Reply Last reply
          0
          • jamesJ james

            Hello @phneutre

            Can you share your Discourse configuration?

            P Offline
            P Offline
            pHneutre
            wrote last edited by
            #7

            @james As soon as I understand what you mean by that 🙂

            1 Reply Last reply
            0
            • jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by
              #8

              Hello @phneutre
              Did you configure anything in discourse for incoming mails?
              See: https://meta.discourse.org/t/troubleshoot-reply-by-email/42026

              P 1 Reply Last reply
              1
              • jamesJ james

                Hello @phneutre
                Did you configure anything in discourse for incoming mails?
                See: https://meta.discourse.org/t/troubleshoot-reply-by-email/42026

                P Offline
                P Offline
                pHneutre
                wrote last edited by pHneutre
                #9

                @james Ah yes sure.
                POP3 polling enabled and :
                e874f470-7499-4766-98b7-60f32171c12e-image.jpeg

                Note: POP3 polling port was actually 9595 (and wasn't considered modified by discourse (no green dot)), so that explains the 9595 call (but why was there a 995 call too then?). I just changed it to 995 and tried again to send an email (and waited for the 5 min of polling period), but no luck.

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

                  Bumping this thread in case someone got an idea.

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

                    @phneutre so if you open a webterminal into the app and run env | grep MAIL you should see all the possible connection details. Note that using mail as the email server domain, means the app will connect via the local route and hence does not necessarily need encrypted connection at all, if that helps with the discourse pop3 setup.

                    P 1 Reply Last reply
                    0
                    • nebulonN nebulon

                      @phneutre so if you open a webterminal into the app and run env | grep MAIL you should see all the possible connection details. Note that using mail as the email server domain, means the app will connect via the local route and hence does not necessarily need encrypted connection at all, if that helps with the discourse pop3 setup.

                      P Offline
                      P Offline
                      pHneutre
                      wrote last edited by
                      #12

                      @nebulon

                      CLOUDRON_MAIL_POP3_PORT=9595
                      CLOUDRON_MAIL_POP3S_PORT=9995
                      CLOUDRON_MAIL_SMTP_SERVER=mail
                      CLOUDRON_MAIL_IMAP_SERVER=mail

                      So that was why the pop3 polling port was 9595 on Discourse. I reverted it to 9595 and tried again replying by email. Still nothing, and the timeout on 9595 is back (at least it's consistent).
                      Could there be a port conflict? How could I check that?

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

                        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.
                        
                        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