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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Splitting email from apps into separate Cloudrons

Scheduled Pinned Locked Moved Solved Discuss
emailmulti-hostmulti-domain
12 Posts 6 Posters 496 Views
    • 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.
  • 32463 Offline
    32463 Offline
    3246
    wrote on last edited by
    #1

    Hi gang. Hope your New Year is going well πŸ™‚ πŸŽ†

    Quick question to ask your advice on the following situation:

    My Cloudron has grown in size somewhat, especially since I moved mailboxes from O365 and Google onto it, which now means backups take for.ev.er.

    Hence, I want to split mail from the apps and dedicate a fresh VM to email, so it can blossom without restrictions.

    What's the best way to do this?

    Right now, I am thinking:

    1. Take a backup (good idea in any case)
    2. Set up a second VM and give its own hostname under my main domain (e.g. email.bebraver.cloud)
    3. Install Cloudron on it and connect it to my main apps server via LDAP
    4. Change the email domain to be email.bebraver.cloud (rather than mail.)
    5. Manually export mailboxes from the apps box to the mailbox (yes, pun intended)
    6. Remove the mailboxes from the app server (and free up some more space)
    7. I think there should be a seventh step because I like that number and it's a good place to have a nice cup of tea / pint of bitter πŸ˜› 🍺

    Visit https://www.bebravernow.com for more

    1 Reply Last reply
    3
  • murgeroM Offline
    murgeroM Offline
    murgero App Dev
    wrote on last edited by
    #2

    I'd build the new VM, install cloudron, put the domain on there with manual SSL (cause Let's Encrypt wont work without changing the DNS records) and then point MX to the new cloudron, enable email in the new cloudron and migrate user data either from backups or using an imap tool.

    In theory it would work, or you can use a different email server for email and cloudron for everything else. (mailcow can do this AND also migrate user data)

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~
    Matrix: @murgero:urgero.org

    32463 1 Reply Last reply
    2
  • 32463 Offline
    32463 Offline
    3246
    replied to murgero on last edited by
    #3

    @murgero thanks. Yes, I hosted with Mailcow before. I wanted to consolidated everything onto one stack for easier maintenance πŸ™‚

    @girish @nebulon et al, can I clarify something about the Change Dashboard Domain from the docs?

    https://docs.cloudron.io/domains/#dashboard-domain

    Says it can be my.anything.com yet not clear if that precludes situations like my.something.anything.com?

    I wanted to end up with my.apps.bebraver.cloud and my.email.bebraver.cloud if possible πŸ™‚

    Visit https://www.bebravernow.com for more

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to 3246 on last edited by jdaviescoates
    #4

    @3246 said in Splitting email from apps into separate Cloudrons:

    Says it can be my.anything.com yet not clear if that precludes situations like my.something.anything.com?
    I wanted to end up with my.apps.bebraver.cloud and my.email.bebraver.cloud if possible

    Yep, I can confirm that's perfectly possible, I have my.status.uniteddiversity.coop which just has Uptime Kuma installed and have previously had my.username.selfhost.cloud too (to see if it would work) and they both worked fine πŸ™‚

    I use Cloudron with Gandi & Hetzner

    robiR 32463 3 Replies Last reply
    1
  • robiR Offline
    robiR Offline
    robi
    replied to jdaviescoates on last edited by
    #5

    @jdaviescoates did you originally install to my.xx.ud.coop? or just my.ud.coop?

    Life of sky tech

    jdaviescoatesJ 1 Reply Last reply
    0
  • 32463 Offline
    32463 Offline
    3246
    replied to jdaviescoates on last edited by
    #6

    @jdaviescoates how did you do it? πŸ™‚

    Visit https://www.bebravernow.com for more

    1 Reply Last reply
    0
  • 32463 Offline
    32463 Offline
    3246
    replied to jdaviescoates on last edited by 3246
    #7

    @jdaviescoates is it as simple as:

    1. Go to Domains & Certs
    2. Click Add domain
    3. Enter your sub-domain of choice (e.g. apps.bebraver.cloud)
    4. Select the appropriate DNS Provider (e.g. Cloudflare)
    5. Navigate to the Change Dashboard Domain section
    6. Click on the domain drop-down (my....) and select the sub-domain you added (e.g. apps.bebraver.cloud).
    7. Be sure to check that the new A Records are set up OK in your DNS for the sub-domains (e.g. apps.bebraver.cloud and my.apps.bebraver.cloud)

    It looks like it should work, right? πŸ€”

    Visit https://www.bebravernow.com for more

    humptydumptyH 1 Reply Last reply
    1
  • jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    replied to robi on last edited by
    #8

    @robi said in Splitting email from apps into separate Cloudrons:

    @jdaviescoates did you originally install to my.xx.ud.coop? or just my.ud.coop?

    In the examples mentioned I originally installed to my.xx.ud.coop

    Indeed it's actually the very same Cloudron.

    I originally installed at my.username.selfhost.cloud then when I no longer had a need for that I switched it my.status.ud.coop

    @3246 said in Splitting email from apps into separate Cloudrons:

    @jdaviescoates is it as simple as:

    1. Go to Domains & Certs
    2. Click Add domain
    3. Enter your sub-domain of choice (e.g. apps.bebraver.cloud)
    4. Select the appropriate DNS Provider (e.g. Cloudflare)
    5. Navigate to the Change Dashboard Domain section
    6. Click on the domain drop-down (my....) and select the sub-domain you added (e.g. apps.bebraver.cloud).
    7. Be sure to check that the new A Records are set up OK in your DNS for the sub-domains (e.g. apps.bebraver.cloud and my.apps.bebraver.cloud)

    It looks like it should work, right? πŸ€”

    Yes, exactly, it's as simple as that.

    I use Cloudron with Gandi & Hetzner

    32463 1 Reply Last reply
    1
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    replied to 3246 on last edited by
    #9

    @3246 note that you can’t use cloudflare proxying with two level of subdomains.

    Cloudflare universal certificates only support one level of subdomain with HTTPS proxying on the free plan. See this forum thread for more information.
    

    https://docs.cloudron.io/domains/#cloudflare-dns

    1 Reply Last reply
    2
  • 32463 Offline
    32463 Offline
    3246
    replied to jdaviescoates on last edited by
    #10

    @jdaviescoates super, thanks for confirming. I'll try it out now πŸ™‚

    @girish @nebulon can we add something to the docu about this, please?

    Visit https://www.bebravernow.com for more

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to 3246 on last edited by
    #11

    @3246 I think splitting email into a separate server is not a problem. But it can be cumbersome to take the emails from one server and put it into another (I guess this applies whether you are using Cloudron or not). You have to use something like imapsync to move the emails but that still doesn't move filters. Like https://docs.cloudron.io/guides/import-email/

    Ideally, Cloudron should allow the email backup to be restored into another Cloudron, I guess. But this is not straightforward if domains betweens cloudrons differ etc.

    32463 1 Reply Last reply
    2
  • 32463 Offline
    32463 Offline
    3246
    replied to girish on last edited by
    #12

    @girish it worked quite smoothly in the end but decided to upgrade my hosting and then have everything on one server again.

    Backup time and size are an issue though. Especially having to wait until one is done before editing/adding or removing apps. Having a fast local disk to backup to helps though πŸ™‚

    Visit https://www.bebravernow.com for more

    1 Reply Last reply
    2
  • nebulonN nebulon marked this topic as a question on
  • nebulonN nebulon has marked this topic as solved on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.