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. Listmonk
  3. SMTP default settings

SMTP default settings

Scheduled Pinned Locked Moved Solved Listmonk
10 Posts 4 Posters 2.3k 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.
  • timconsidineT Online
    timconsidineT Online
    timconsidine
    App Dev
    wrote on last edited by
    #1

    Hope this is not dumb question.
    Are the default SMTP settings on app install supposed to work ?

    Just trying the app out.
    Looks really nice.
    But can't get an email sent.
    Port seems strange : 2465
    And host just says mail - I was expecting something like my.mycloudron.tld

    Do we need to configure default settings ?
    I get we can add an extra 'messenger'.
    Just wondering about the default one added.

    robiR 1 Reply Last reply
    0
    • timconsidineT timconsidine

      Hope this is not dumb question.
      Are the default SMTP settings on app install supposed to work ?

      Just trying the app out.
      Looks really nice.
      But can't get an email sent.
      Port seems strange : 2465
      And host just says mail - I was expecting something like my.mycloudron.tld

      Do we need to configure default settings ?
      I get we can add an extra 'messenger'.
      Just wondering about the default one added.

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

      @timconsidine mail is correct as the internal container network DNS for the mail server. Port does seem off.

      Conscious tech

      timconsidineT 1 Reply Last reply
      1
      • robiR robi

        @timconsidine mail is correct as the internal container network DNS for the mail server. Port does seem off.

        timconsidineT Online
        timconsidineT Online
        timconsidine
        App Dev
        wrote on last edited by
        #3

        @robi some trial and error testing shows that mail and 2465 probably are correct.
        But I'm getting authentication failed.

        I changed the password to the one I set for the admin of the app.
        And tried my cloudron admin password.
        Neither work.
        Password field always resets to showing 8 stars ********
        Maybe just a default display but makes me suspicious whether the password change is being put into effect.

        Buy hey, I've probably screwed it up along the way with my trial & error testing.

        timconsidineT 1 Reply Last reply
        0
        • timconsidineT timconsidine

          @robi some trial and error testing shows that mail and 2465 probably are correct.
          But I'm getting authentication failed.

          I changed the password to the one I set for the admin of the app.
          And tried my cloudron admin password.
          Neither work.
          Password field always resets to showing 8 stars ********
          Maybe just a default display but makes me suspicious whether the password change is being put into effect.

          Buy hey, I've probably screwed it up along the way with my trial & error testing.

          timconsidineT Online
          timconsidineT Online
          timconsidine
          App Dev
          wrote on last edited by timconsidine
          #4

          @timconsidine still struggling with outbound email from Listmonk

          Whatever I try, I get :
          2022/05/31 11:28:30error sending message in campaign Test campaign: subscriber 86eeee23-7dc5-4112-b237-c2967d78f340: 535 5.7.8 Authentication failed
          Or in some test configs connection refused

          I might trash it and start over.
          But what password should be used for the mail host ?
          I thought the password for the Cloudron email user (Cloudron admin) but doesn't seem to be so.
          So I tried Listmonk admin but no joy with that either.

          timconsidineT 1 Reply Last reply
          0
          • timconsidineT timconsidine marked this topic as a question on
          • timconsidineT timconsidine

            @timconsidine still struggling with outbound email from Listmonk

            Whatever I try, I get :
            2022/05/31 11:28:30error sending message in campaign Test campaign: subscriber 86eeee23-7dc5-4112-b237-c2967d78f340: 535 5.7.8 Authentication failed
            Or in some test configs connection refused

            I might trash it and start over.
            But what password should be used for the mail host ?
            I thought the password for the Cloudron email user (Cloudron admin) but doesn't seem to be so.
            So I tried Listmonk admin but no joy with that either.

            timconsidineT Online
            timconsidineT Online
            timconsidine
            App Dev
            wrote on last edited by
            #5

            @timconsidine Interesting : in app logs say :
            2022/05/31 13:50:25reading config: /run/listmonk/config.toml

            But /run/listmonk/config.toml is zero-length file.

            Is that ok ?

            girishG 1 Reply Last reply
            0
            • timconsidineT timconsidine

              @timconsidine Interesting : in app logs say :
              2022/05/31 13:50:25reading config: /run/listmonk/config.toml

              But /run/listmonk/config.toml is zero-length file.

              Is that ok ?

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

              @timconsidine The zero length file is fine, it doesn't start without it.

              The SMTP default settings are also correct. Port 2465 is the internal SMTPS port (https://docs.cloudron.io/packaging/addons/#sendmail). Go apps don't work without TLS even if it's all totally internal (which is why we have this semi-deprecated SMTPS port in the first place).

              Just to double check, can you restart the app? Restarting the app will re-inject the up to date SMTP credentials. I did try to send a mail campaign before I published and it did work.

              timconsidineT 1 Reply Last reply
              1
              • girishG girish

                @timconsidine The zero length file is fine, it doesn't start without it.

                The SMTP default settings are also correct. Port 2465 is the internal SMTPS port (https://docs.cloudron.io/packaging/addons/#sendmail). Go apps don't work without TLS even if it's all totally internal (which is why we have this semi-deprecated SMTPS port in the first place).

                Just to double check, can you restart the app? Restarting the app will re-inject the up to date SMTP credentials. I did try to send a mail campaign before I published and it did work.

                timconsidineT Online
                timconsidineT Online
                timconsidine
                App Dev
                wrote on last edited by timconsidine
                #7

                @girish YAY !!

                I did restart the app a few times, but maybe changed the mail password before trying another send.

                The fact that restarting the app re-inject the credentials may also explain why an alternative config got deleted.
                Bit strange because other settings persist.

                Restarting then produced another message in the campaign.
                UI allows you to customise the FROM address .... but if it is not the app mail address, there is a different failed authentication error.
                So it seems that (for now at least) a campaign must have the FROM address as the app mail address. At least the same actual address, but the "friendly name" can be changed. Which is good.
                But it should not suggest that the mail address can be changed.
                I appreciate that is an upstream issue, not Cloudron.
                Maybe just need to document this.

                Anyway, SOLVED ! Thank you @girish. 🍾
                Now I can explore further.

                girishG 1 Reply Last reply
                0
                • timconsidineT timconsidine has marked this topic as solved on
                • timconsidineT timconsidine

                  @girish YAY !!

                  I did restart the app a few times, but maybe changed the mail password before trying another send.

                  The fact that restarting the app re-inject the credentials may also explain why an alternative config got deleted.
                  Bit strange because other settings persist.

                  Restarting then produced another message in the campaign.
                  UI allows you to customise the FROM address .... but if it is not the app mail address, there is a different failed authentication error.
                  So it seems that (for now at least) a campaign must have the FROM address as the app mail address. At least the same actual address, but the "friendly name" can be changed. Which is good.
                  But it should not suggest that the mail address can be changed.
                  I appreciate that is an upstream issue, not Cloudron.
                  Maybe just need to document this.

                  Anyway, SOLVED ! Thank you @girish. 🍾
                  Now I can explore further.

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

                  @timconsidine said in SMTP default settings:

                  So it seems that (for now at least) a campaign must have the FROM address as the app mail address. At least the same actual address, but the "friendly name" can be changed. Which is good.

                  Good points. So, if you let Cloudron manage the email address, then you have to change it from Cloudron Dashboard -> App -> Email -> From address setting. This will fixup the config accordingly. You can also change the setting there to have Cloudron not manage the email at all (if you want to relay using some other provider from inside listmonk).

                  The name is not configurable but it should be, will fix the package (or the box code).

                  1 Reply Last reply
                  2
                  • F Offline
                    F Offline
                    filter
                    wrote on last edited by
                    #9

                    Hey @girish,

                    I also use the email address and mailbox managed by Cloudron. Besides sending emails, I also want to process bounces with Listmonk (via pop3). But to make it work, I have to open the terminal to get the credentials via printenv for the incoming mailbox. Do the credentials created by Cloudron stay the same, or do they change over time? Is there a better way to do this?

                    Thanks!

                    girishG 1 Reply Last reply
                    0
                    • F filter

                      Hey @girish,

                      I also use the email address and mailbox managed by Cloudron. Besides sending emails, I also want to process bounces with Listmonk (via pop3). But to make it work, I have to open the terminal to get the credentials via printenv for the incoming mailbox. Do the credentials created by Cloudron stay the same, or do they change over time? Is there a better way to do this?

                      Thanks!

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

                      @filter the credentials will stay the same for the lifetime of the app.

                      1 Reply Last reply
                      1
                      • J joseph forked this topic on
                      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