Hosting email with mailcow dockerized worked pretty good on my netcup vps, but before you go into hosting email ask yourself a few questions:
- Will you use your selfhosted mail for important things? (Banking, official correspondence and so on)
- Can you promise a near 100% uptime? Otherwise, some email might not reach you.
- How important is the Mail you send? Some (stupid) Blocklists generally block all IP ranges that are sold out by vps companies and other kinds of IAAS.
- If you register any accounts with your selfhosted mail, can you guarantee yourself that your email account is secure? Don't underestimate what an attacker can do with a compromised Mail account.
I personally ended up scrapping my email server eventually. Nowadays I pay a company to do the mail hosting, you just need to set some DNS records and they do everything else. Personally, I'm with proton, but there are many good alternatives.