Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Can we use Cloudron SMTP for Ghost email config

    Ghost
    ghost email
    3
    7
    527
    Loading More Posts
    • 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
      vjvanjungg last edited by girish

      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 Reply Quote 2
      • girish
        girish Staff last edited by

        @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 Reply Quote 0
        • V
          vjvanjungg @girish last edited by

          @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 Reply Quote 0
          • girish
            girish Staff last edited by

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

            1 Reply Last reply Reply Quote 1
            • iamdinakar
              iamdinakar last edited by

              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 Reply Quote 0
              • girish
                girish Staff last edited by

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

                iamdinakar 1 Reply Last reply Reply Quote 0
                • iamdinakar
                  iamdinakar @girish last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB