Migrating email address to Nextcloud

I’ve been migrating my cloud storage from Google Workspace to Hetzner’s shared storage Nextcloud.

I’ve managed to connect my storage plan to my domain (provided by Google Domains), so that I can access my dashboard via my own URL, that’s great! but this is as far as my knowledge go in DNS configurations stuff so I’d appreciate your support!

I would like to link my email address to this Nextcloud account (and have it hosted on my Hetzner sotrage), so I could use it through Nextcloud’s email client.
it’s just important to me that the email address remains the same through this migration.

currently, it seems to have Hetzner’s default email configuration.

since I anticipated my email address downtime as the migration is ongoing, I’ce used a temporary Gmail email address for my account registration. when I enabled Nextcloud’s email client, it suggests to connect to this temporary address:

whereas, the domain email address I’ve used and would like to migrate to Nextcloud is different (me@yotamguttman.com).

I presume it’s something to do with my domain’s DNS settings but don’t even know where to start

(these is the successful configuration of nextcloud’s dashboard on my domain)

I’d appreciate any help. thanks! :pray:

Hi there,

It seems like there might be a misunderstanding about Nextcloud’s capabilities regarding email hosting. Nextcloud itself doesn’t function as an email server; rather, it’s primarily designed for file storage and collaboration.

To host your email address and use it through Nextcloud’s email client, you’ll need to set up email hosting separately. Hetzner doesn’t offer managed mail servers, so you might want to explore other providers like Mailbox.org, Posteo, or Tutanota for this purpose. (Some dont support custom Domains but mailbox.org certainly does).

The email server configuration you see in Nextcloud’s admin settings is meant for sending emails to users of the Nextcloud instance from “nx...@your-storageshare.de”, not for hosting email accounts.

Additionally, it’s important to clarify that the Mail app in Nextcloud is designed to access a mail server as a client, rather than hosting a mail server itself. So, even if you configure it correctly, it won’t host your email.

Tldr; nextcloud is Not a Mail Server only a Client.
Use a mail provider Point you DNS to that Provider.

I hope this helps clarify things for you. If you have any further questions, feel free to ask!

Best regards,


yes thank you. I figured that out and initially opted for one Hetzners’ webhosting plans which also came with a mail server. earlier this week I’ve terminated it all because I got a little frustrated with how limitated it all was, being trapped in separate containers which sit in separate accounts and have separate plans.

I’ve decided to undertake hosting my storage and mail server, despite having practically 0 experience running servers. though I’ve been reading and learning a lot about it so I’d appreciate any advice on the matter if you have any.

I’d get a storage VPS at Contabo running Ubuntu. I’ve opted out of Hetzner, anything to do with Hetzner tbf because the customer service and generally the management tools were not to my liking…

I’ve already practiced installing Nextcloud on an Ubuntu server on a VM. it’s all pretty straightforward I must say! I haven’t got around to figuring out the mail server thing though. have you got a mail server software for Ubuntu in mind, that’s relatively easy for beginners and sufficient docs to learn from?

I’d also appreciate an advice on how to keep a server clean. I’m so far quite used to anything having a GUI but even if I’d install something manually, I’d put it in a containing folder. what’s the equivalent of that in a server? how do you typically contain databases of different programmes that you’re running (meaning: software 1-Nextcloud, software 2-mail)?

thanks for your help!

My go-to guide for securing a server is Beginners Guide to Securing a Linux Server – Riyad Kalla. I would really, really discoruage you from hosting your own mail-server. It is a huge amount of effort and maintenance to secure it, keep up with all the spam protection measures, have it accepted by other mail servers and keep it of email-ban-lists. Here is a post that sums up my feelings on that matter pretty well.
I went pretty much the opposite route. I hosted my nextcloud instance at contabo with my mails being hosted by mailbox.org (german). My personal experience with contabo was really bad. One day they just accedentally deleted my server with all my files. Since then i switched to Hetzner with a VPS and a managed Nextcloud instance, so that i dont have to worry about keeping a backup for my nextcloud files.

I still don’t quite understand where your issues with the mail service you had were. The “Mail” part in nextcloud is just a mailclient like thunderbird/k-9/fairmail. it doesnt really have anything to do with hosting the mailserver except setting the correct configuration to reach the mailserver.

TLDR; Don’t try to host mail yourself. its way too much effort.

1 Like

thanks for the tip I’d definitely look into that.

the reason I left Hetzner wasn’t at all related to the mail or Nextcloud. I registered to the 1TB Nextcloud shared hosting plan. unlike you, I didn’t opt for a Hetzner VPS, which limited me to a Nextcloud ONLY server.

I later realised that I’d like to deploy several other programmes aside from Nextcloud (onlyoffice, anytype, penpot and more) and didn’t like the limitations of the Nextcloud only shared hosting. I needed a VPS, which is the route you’ve taken.

my problem is that I’ll use Nextcloud as my primary project storage system and I normally need to store very large files (that’s why I went for the 1TB plan initially) which costs about €5 pm. however, the equivalent of 1TB of storage VPS that Hetzner offers costs a few hundred euros a month and isn’t an option for me.

Contabo on the other hand offers 1TB Ubuntu VPS for about the same price as the only Nextcloud plan Hetzner offers and this is why I intended to make the switch and left Hetzner.

(there’s another Linux VPS provider that offers the same plan for a similar fee called alphavps, they might be more reliable)

This can’t be true unless you got a very unique special offer that is not advertised on their website. According to their website the largest VPS in terms of storage they offer costs €61.50 and has 600GB of storage. https://contabo.com/en/vps/

At Contabo you can get NVMe or SSD. For 16,66€ a month you can get 300 GB NVMe or 1,2 TB SSD. But 16,66€ is still more than 5€.

With more freedom, storage is probably always more expensive than with a fixed application. Managed Nextcloud only makes sense if you really only need Nextcloud and the Managed Nextcloud also has the right range of functions.

Sometimes it can make sense to split it up.

  • Managed Nextcloud as a data tomb but with limitations.
  • Use of a good email provider.
  • Small VPS for a few more gimmicks.
  • store big data at home
1 Like

Yes, VM storage tends to be much more expensive because it’s block storage dedicated to a VM which, depending on the underlying technology, may or may not allow thin provisioning. And as you said, it’s usually also sitting on a higher performance NVMe storage pool, which results in a higher cost per GB.

The storage used for basic file storage services such as Storage Shares or Storage Box and similar services is typically shared storage served from slower spinning rust pools, so it’s cheaper per GB and pricing is based on average usage because many users won’t use the full 1TB or whatever their plan offers.

Or you could mount a “Storage Box” or “Storage Share” as an external Storage to your VPS. Not sure how well that would perform, but it’s certainly possible.

1 Like

you need to check ‘storage VPS’

Oh wow. That’s actually incredibly cheap, even if you take the 200Mbps bandwidth limit into account and the fact that it’s “only” SSD storage, which probably means higher latency and lower IOPS than dedicated NVMe block storage.

Oh, and if your goal is to install Nextcloud directly on this server, depending on how many users you have and whether you want to use additional apps like Nextcloud Office, Talk, etc., the €9.50 variant with 8GB of RAM and 400Mbps bandwidth might be an even better deal.

sure. but if it’s indeed not very reliable as @Baspla I’m no longer sure it’s worth it

Yeah, offers that sound almost too good to be true are often achieved by massively overbooking the server infrastructure, which can lead to all sorts of issues. However, I have no personal experience with Contabo, so I can’t say whether they do this or how reliable they are in general.

to sum it up, I believe you have more experience than me setting up a VPS so generally asking; @bb77 suggested to go for the €9.5 Contabo vps offer and set up the whole Nextcloud suite on it next to the other self hosted apps I want to deploy. or is it better to go for @devnull 's strategy and split it up?

initially I found out that I couldn’t run Onlyoffice on Hetzner Nextcloud shared hosting plan. maybe I missed something because I was already fed up with Hetzner at that time. but as far as I understand, you need to deploy Onlyoffice aside from Nextcloud and then use Onlyoffice’s Nextcloud integration to connect them. this wasn’t possible on hetzner because I had no way to deploy Onlyoffice and would have to purchase storage from them.

also, any good suggestions for email providers? @Baspla suggested mailbox.org.

thanks everyone!