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. How on Earth do you get Ghost Memberships and Newsletters working with Cloudron

How on Earth do you get Ghost Memberships and Newsletters working with Cloudron

Scheduled Pinned Locked Moved Ghost
28 Posts 4 Posters 3.5k 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.
    • jdaviescoatesJ jdaviescoates

      @girish said in How on Earth do you get Ghost Memberships and Newsletters working with Cloudron:

      @jdaviescoates It seems that subdomain thing is hardcoded in the code (i.e the default email addresses don't come from the database), so looks like we have to make the email server allow sending subdomains as you suggested.

      Unless, if I'd already changed the support address (I hadn't in this instance), then perhaps it wouldn't have still tried to send via noreply@ghost.ud.coop at all and I wouldn't've needed to get masqureading working on the subdomain 🤔

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by girish
      #21

      @jdaviescoates said in How on Earth do you get Ghost Memberships and Newsletters working with Cloudron:

      Unless, if I'd already changed the support address (I hadn't in this instance), then perhaps it wouldn't have still tried to send via noreply@ghost.ud.coop at all and I wouldn't've needed to get masqureading working on the subdomain

      Yeah, even if you've installed on a subdomain, if change the support address you don't also have to add and then enable masquerading on the subdomain.

      So the steps in the docs were all actually correct, I think, it was just the subdomain issue, coupled with Ghost changing where to change stuff had got me all confuddled.

      But perhaps the docs could also be clearer too.

      Things you need to do in order to get Ghost working.

      1. You can get as much as you can ready before installing ghost.

        • In Cloudron, enable email on the domain you want to install Ghost on
        • create support@ and newsletter@ email boxes
        • enable email masquerading
        • sign-up to Mailgun, configure DNS as instructed, have your mg.example.coop domain and private API ready
      2. Install Ghost

      3. Go to example.coop/ghost and set-up admin account

      4. Click Explore Ghost admin then Cog at bottom of left column to get into Ghost settings

      5. In Ghost Settings, go to Membership -> Portal Settings -> Customize Portal -> Account page settings

        • Edit the email to your previously created suppport@ email address.
        • Click Save and close (top right)
        • Click on the confirmation email sent to support@ to confirm.
      6. Go back to Ghost Setting, then into Email newsletter -> Newsletter -> Customize -> Email addresses -> Sender email address

        • edit the email to your previously created newsletter@ email address.
        • Click Save and close (top right)
        • Click on the confirmation email sent to newsletter@ to confirm.
      7. Back in Ghost Setting -> Email newsletter

        • scroll down to General Settings expand and complete Mailgun configuration by
        • choose your region,
        • add your domain e.g. mg.domain.coop (without the https:// works fine, maybe it'd work with it too, not tested yet).
        • paste in your Mailgun Private API key
        • Click Save (top right)
      8. Go into Members (note this is not Settings -> Membership /ghost/#/settings/members/ it's just /ghost/#/members/) and click on the Add yourself as a member to test.

      9. Also sign-up using another email address by browsing to your domain and clicking on the Subscribe button. Open that email address and confirm your subscription.

      10. Create a post, click Publish, then Publish and send, then Publish and send again.

      Both members should receive an email with the post you just published and sent.

      I use Cloudron with Gandi & Hetzner

      girishG 1 Reply Last reply
      6
      • girishG girish

        @jdaviescoates I just tested a fresh install now. What I found is, it's not needed to add the subdomain at all.

        If you configure the email address (support or the newsletter) to blah@some.domain.com , then Ghost is hardcoded to send emails from noreply@some.domain.com to blah@some.domain.com . This means that if you change the email address to newsletter@example.com , it will only try to send email as noreply@email.com .

        I am not sure why it tried to send email from a subdomain in your case. Do you think you might have tried to put in a subdomain email address ?

        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #22

        @girish said in How on Earth do you get Ghost Memberships and Newsletters working with Cloudron:

        I am not sure why it tried to send email from a subdomain in your case. Do you think you might have tried to put in a subdomain email address ?

        In this particular instance (somehow I've tried and failed this multiple times for different reasons!) I think I'd just not found and edited that setting! (in my point 5 above)

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • jdaviescoatesJ jdaviescoates

          @jdaviescoates said in How on Earth do you get Ghost Memberships and Newsletters working with Cloudron:

          Unless, if I'd already changed the support address (I hadn't in this instance), then perhaps it wouldn't have still tried to send via noreply@ghost.ud.coop at all and I wouldn't've needed to get masqureading working on the subdomain

          Yeah, even if you've installed on a subdomain, if change the support address you don't also have to add and then enable masquerading on the subdomain.

          So the steps in the docs were all actually correct, I think, it was just the subdomain issue, coupled with Ghost changing where to change stuff had got me all confuddled.

          But perhaps the docs could also be clearer too.

          Things you need to do in order to get Ghost working.

          1. You can get as much as you can ready before installing ghost.

            • In Cloudron, enable email on the domain you want to install Ghost on
            • create support@ and newsletter@ email boxes
            • enable email masquerading
            • sign-up to Mailgun, configure DNS as instructed, have your mg.example.coop domain and private API ready
          2. Install Ghost

          3. Go to example.coop/ghost and set-up admin account

          4. Click Explore Ghost admin then Cog at bottom of left column to get into Ghost settings

          5. In Ghost Settings, go to Membership -> Portal Settings -> Customize Portal -> Account page settings

            • Edit the email to your previously created suppport@ email address.
            • Click Save and close (top right)
            • Click on the confirmation email sent to support@ to confirm.
          6. Go back to Ghost Setting, then into Email newsletter -> Newsletter -> Customize -> Email addresses -> Sender email address

            • edit the email to your previously created newsletter@ email address.
            • Click Save and close (top right)
            • Click on the confirmation email sent to newsletter@ to confirm.
          7. Back in Ghost Setting -> Email newsletter

            • scroll down to General Settings expand and complete Mailgun configuration by
            • choose your region,
            • add your domain e.g. mg.domain.coop (without the https:// works fine, maybe it'd work with it too, not tested yet).
            • paste in your Mailgun Private API key
            • Click Save (top right)
          8. Go into Members (note this is not Settings -> Membership /ghost/#/settings/members/ it's just /ghost/#/members/) and click on the Add yourself as a member to test.

          9. Also sign-up using another email address by browsing to your domain and clicking on the Subscribe button. Open that email address and confirm your subscription.

          10. Create a post, click Publish, then Publish and send, then Publish and send again.

          Both members should receive an email with the post you just published and sent.

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

          @jdaviescoates thanks! I have fixed up the existing docs slightly and also linked in your guide here.

          1 Reply Last reply
          2
          • girishG girish

            https://docs.cloudron.io/apps/ghost/#email has the tricky information to setup email in ghost. Note that mailgun is required, no way around it.

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

            @girish said in How on Earth do you get Ghost Memberships and Newsletters working with Cloudron:

            https://docs.cloudron.io/apps/ghost/#email has the tricky information to setup email in ghost. Note that mailgun is required, no way around it.

            can you also mention WHY Mailgun is required? This is quite anti-self hosting.

            Conscious tech

            girishG 1 Reply Last reply
            2
            • robiR robi

              @girish said in How on Earth do you get Ghost Memberships and Newsletters working with Cloudron:

              https://docs.cloudron.io/apps/ghost/#email has the tricky information to setup email in ghost. Note that mailgun is required, no way around it.

              can you also mention WHY Mailgun is required? This is quite anti-self hosting.

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

              @robi yes, linked to https://ghost.org/docs/faq/mailgun-newsletters/

              robiR 1 Reply Last reply
              0
              • girishG girish

                @robi yes, linked to https://ghost.org/docs/faq/mailgun-newsletters/

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

                @girish Thanks, that brings us to the next bit which is what OSS bulk-mailing API can we add to Cloudron and invite Ghost to add support for it being configurable.

                Conscious tech

                jdaviescoatesJ 1 Reply Last reply
                2
                • robiR robi

                  @girish Thanks, that brings us to the next bit which is what OSS bulk-mailing API can we add to Cloudron and invite Ghost to add support for it being configurable.

                  jdaviescoatesJ Offline
                  jdaviescoatesJ Offline
                  jdaviescoates
                  wrote on last edited by
                  #27

                  @robi said in How on Earth do you get Ghost Memberships and Newsletters working with Cloudron:

                  what OSS bulk-mailing API can we add to Cloudron and invite Ghost to add support for it being configurable.

                  possibly listmonk could do the job?

                  https://listmonk.app/docs/apis/apis/

                  I use Cloudron with Gandi & Hetzner

                  robiR 1 Reply Last reply
                  1
                  • jdaviescoatesJ jdaviescoates

                    @robi said in How on Earth do you get Ghost Memberships and Newsletters working with Cloudron:

                    what OSS bulk-mailing API can we add to Cloudron and invite Ghost to add support for it being configurable.

                    possibly listmonk could do the job?

                    https://listmonk.app/docs/apis/apis/

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

                    @jdaviescoates good idea!

                    Seems it would require some hacking to get working in Ghost, a good suggestion for the upstream devs.

                    The API seems mostly undocumented, hence would be useful to know if they followed a particular pattern of another API mail provider.

                    Conscious tech

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