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. Ghost
  3. Can we use Cloudron SMTP for Ghost email config

Can we use Cloudron SMTP for Ghost email config

Scheduled Pinned Locked Moved Ghost
ghostemail
7 Posts 3 Posters 1.4k 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.
    • V Offline
      V Offline
      vjvanjungg
      wrote on last edited by girish
      #1

      Hi, I’ve tried setting up the email settings (member signup, signin) in Ghost with Cloudron SMTP following this guide:

      https://ghost.org/docs/concepts/config/#mail

      In config.production.json, I tried:

      "mail": {
          "transport": "SMTP",
          "options": {
              "from": "ghost.app@anotherdomain.com",
              "host": "my.domain.com",
              "port": 443,
              "auth": {
                  "user": “user@someother.com”
                  "pass": "cloudronpass"
              }
          }
      }
      

      my.domain.com: my primary Cloudron domain , anotherdomain.com: the Ghost app domain user@someother.com: a mailbox I created for another app.

      I’ve tried port 25, 587, 993 & other combinations, but the subscribing is still not working.

      I go back to thinking is this possible? Do you guys have any ideas for this?

      1 Reply Last reply
      2
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @vjvanjungg Cloudron configure email automatically for Ghost (in fact, it does this for all apps). You shouldn't have to edit the json file manually. If you just restart the app, it will go back to the previous configuration.

        Can you clarify what is needed for the subscriptions to work? Ghost needs to be send emails as @anotherdomain.com even though it's installed at someother.com ?

        V 1 Reply Last reply
        0
        • girishG girish

          @vjvanjungg Cloudron configure email automatically for Ghost (in fact, it does this for all apps). You shouldn't have to edit the json file manually. If you just restart the app, it will go back to the previous configuration.

          Can you clarify what is needed for the subscriptions to work? Ghost needs to be send emails as @anotherdomain.com even though it's installed at someother.com ?

          V Offline
          V Offline
          vjvanjungg
          wrote on last edited by
          #3

          @girish

          If you just restart the app, it will go back to the previous configuration.

          yes, this is an issue i was getting when restarting the app.

          so for the sub to work, from what i’ve read on the forum, the email config should be set up properly (like the code block above).

          otherwise, it will show an error msg “Please enter a valid email address” when someone’s trying to subscribe.

          some folks use Mailgun or Amazon SES with their credentials. so i was wondering if Cloudron SMTP could work out for this.

          I’m mostly unsure of the port, the user & the from field input. It’s not absolutely needed to send email from @anotherdomain.com, i was just testing out variants to see.

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

            @vjvanjungg Let me read up on what config is required and get back here.

            1 Reply Last reply
            1
            • iamdinakarI Offline
              iamdinakarI Offline
              iamdinakar
              wrote on last edited by
              #5

              Can you get back now, if possible?

              Same issue, we have to follow a different credential and restart Ghost for it to become live. But once I hit restart it reverts back to previous (default) config. It's trouble here.

              1 Reply Last reply
              0
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @iamdinakar Can you open a separate thread for the issue you are facing?

                iamdinakarI 1 Reply Last reply
                0
                • girishG girish

                  @iamdinakar Can you open a separate thread for the issue you are facing?

                  iamdinakarI Offline
                  iamdinakarI Offline
                  iamdinakar
                  wrote on last edited by
                  #7

                  @girish new thread added for this here - ghost issue with signup email and mail configuration

                  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