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. Error using external smtp mail server

Error using external smtp mail server

Scheduled Pinned Locked Moved Solved Discourse
5 Posts 3 Posters 1.1k 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.
  • S Offline
    S Offline
    SolarSimon
    wrote on last edited by SolarSimon
    #1

    Hi there, I successfully migrated from a selfhosted docker installation to cloudron. So far as I can see everything works fine.

    Only sending mails doesn't work. I configurated the domain to use an external smtp. I used that same smtp server for my selfhosted discourse installations.
    There I had to configure mail-login in containers/app.yml

    My App-configuration in Cloudron

    • E-Mail FROM Adresse: mail@domain
    • x Do not configure inbox

    My mail-configuration for domain

    • external smtp
    • status: test Mail arrives

    My Mail Event Log:

    no-reply@domain 	admin@domain 	Delivered mail
    community+verp-7077d0c715a9701676aba02c5ae1ce03@domain 	- 	Connection denied. Authenticated user community@domain cannot send mail as community+verp-7077d0c715a9701676aba02c5ae1ce03@domain
    

    Discourse settings: Delivery Method

    address: 	mail
    port:	2525
    domain: 	goodmotion.de
    user_name:	community@domain
    authentication: 	plain
    enable_starttls_auto: 	true
    

    I can not change these settings. Adress "mail" looks wrong, the port is also different then configured in cloudron external smtp

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

      The apps on Cloudron are packaged, so they will always use the email solution on coming with Cloudron. So your manual changes in discourse will be overwritten on every app start.

      In your case you can configure the other smtp server as the relay for that domain. This way all apps installed on that domain will have the same deliver-ability and don't need to be configured individually.

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SolarSimon
        wrote on last edited by
        #3

        I had to enable Masquerading under settings.
        "Masquerading allows users and apps to send emails with an arbitrary username in the FROM address."

        nebulonN girishG 2 Replies Last reply
        1
        • S SolarSimon

          I had to enable Masquerading under settings.
          "Masquerading allows users and apps to send emails with an arbitrary username in the FROM address."

          nebulonN Offline
          nebulonN Offline
          nebulon
          Staff
          wrote on last edited by
          #4

          @solarsimon thanks for sharing your solution!

          1 Reply Last reply
          2
          • S SolarSimon

            I had to enable Masquerading under settings.
            "Masquerading allows users and apps to send emails with an arbitrary username in the FROM address."

            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by girish
            #5

            @solarsimon mm, usually that should not be required. Did you set the mail from address of the discourse app in the Email view - https://docs.cloudron.io/apps/#mail-from-address ?

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