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. PocketBase
  3. Email for pocketbase

Email for pocketbase

Scheduled Pinned Locked Moved PocketBase
17 Posts 6 Posters 525 Views 6 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.
  • JesperBllnbmJ JesperBllnbm

    Hi there!

    I just confirmed that email works in PocketBase on Cloudron when using STARTTLS on port 2587.

    What confused me is that PocketBase’s default SMTP port is 587, but on Cloudron nothing listens on 587, the provided ports are 2525 (plain), 2587 (STARTTLS), and 2465 (SMTPS).

    Is the default 587 simply not applicable on Cloudron, or am I misunderstanding how PocketBase is expected to integrate with Cloudron’s mail relay?

    Thanks!🙏

    timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote on last edited by timconsidine
    #2
    This post is deleted!
    1 Reply Last reply
    1
    • jamesJ Offline
      jamesJ Offline
      james
      Staff
      wrote on last edited by
      #3

      Hello @jesperbllnbm
      Due to the way PocketBase is developed it can not connect internally to STARTTLS without the certs.
      This works for mosts apps, but some don't like it.
      PocketBase is requiring a valid mail server certificate to send email internally, thus 2587 is used.

      1 Reply Last reply
      1
      • JesperBllnbmJ Offline
        JesperBllnbmJ Offline
        JesperBllnbm
        wrote on last edited by
        #4

        Wow such a quick response time! Thanks that cleared it 👍

        1 Reply Last reply
        2
        • jamesJ Offline
          jamesJ Offline
          james
          Staff
          wrote on last edited by
          #5

          Hello @jesperbllnbm
          Always happy to help.

          1 Reply Last reply
          0
          • JesperBllnbmJ Offline
            JesperBllnbmJ Offline
            JesperBllnbm
            wrote on last edited by
            #6

            Hi @James - I do have 1 more question. Is it normal that the container restart (stop->start, using the cloudron dashboard) resets the email port? After a restart I am back to 587, is there a way to persist this configuration?

            Thanks in advance!

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

              Hello @jesperbllnbm
              I will look into it.

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

                Hello @jesperbllnbm
                I was able to reproduce this issue.
                An app update will be avaible soon to fix the issue.

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

                  The new package is out

                  1 Reply Last reply
                  4
                  • JesperBllnbmJ Offline
                    JesperBllnbmJ Offline
                    JesperBllnbm
                    wrote on last edited by
                    #10

                    😍 amazing turn around time

                    1 Reply Last reply
                    1
                    • V Offline
                      V Offline
                      Valexico
                      wrote last edited by
                      #11

                      Hi
                      I don't succeed to make pocketbase work with cloudron SMTP
                      I always end up with timeout errors

                      What am I missing

                      e2f68925-5623-428b-ae7f-026518a260f9-image.jpeg

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        Valexico
                        wrote last edited by Valexico
                        #12

                        Hmm it appears that when sending test email, pocketbase is showing timeout but after a while I do receive the test email in my inbox.
                        This slow response also make login very slow because pocketbase is trying to sen email alerts. I am not sure where can be the problem.

                        From pocketbase point of view, the email request gave timeout
                        From user point of view the login time is slow (~30 seconds maybe) -> workround : disable login alerts
                        But emails do get sent at the end ? At least test emails

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

                          Hello @valexico
                          Thanks for reporting this.
                          I am looking into it.

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

                            This behaviour is very odd.
                            Sometimes it sends, sometimes it does not, but always the send test email times out.
                            As if there is an internal event / cron handler that does not work correctly and only if you hit the perfect time frame to send a test mail it actually sends

                            Many times it fails the send test mail only to send the mail after the failed attempt anyway.
                            I observed this in the mail service logs and the debug log of pocketbase.

                            There must be something going in internally that is creating this issue.

                            37698875-3502-4bda-b362-daca9fce651c-image.jpeg

                            1 Reply Last reply
                            0
                            • robiR Offline
                              robiR Offline
                              robi
                              wrote last edited by
                              #15

                              Could it be hitting throttling limits?

                              Conscious tech

                              jamesJ 1 Reply Last reply
                              0
                              • robiR robi

                                Could it be hitting throttling limits?

                                jamesJ Offline
                                jamesJ Offline
                                james
                                Staff
                                wrote last edited by
                                #16

                                Hello @robi

                                The Cloudron mail server was not throttling, I ensured that.

                                robiR 1 Reply Last reply
                                0
                                • jamesJ james

                                  Hello @robi

                                  The Cloudron mail server was not throttling, I ensured that.

                                  robiR Offline
                                  robiR Offline
                                  robi
                                  wrote last edited by
                                  #17

                                  @james I was thinking fw not mail.

                                  Next thing would be to see what the code does

                                  Conscious tech

                                  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