1
submitted 11 months ago by AudioBabble@alien.top to c/main@selfhosted.forum

Hey all, I have a VPS with Hostinger that serves a few websites, very basic stuff, simple blogs or static pages, very low traffic.

At the moment I have 'custom domain' emails set up with Protonmail and also Tutanota. They are mainly for client communication one-to-one, I very rarely if ever do mass mail-outs.

I'm looking into the possibility of setting up a mail server instead, but it seems it's generally not a good idea to run mail server and web server on the same VPS. [-- if anybody thinks there may be exceptions to this, do let me know, because I would still be interested if it's not an entirely bad idea?]

So I'm wondering about a dedicated VPS to run my mail server, but really don't want to pay much.

In order for it to be cost effective (as opposed to just paying for a mail service with multiple custom domains), i'd want a VPS with 3GB ram and 20-30GB storage that doesn't block port 25, for less than $6 per month.

Is this likely? Anyone know of any contenders?

you are viewing a single comment's thread
view the rest of the comments
[-] blind_guardian23@alien.top 1 points 11 months ago

If you have the knowledge its fine, if not it wont be fun. mailcow ist the best overall package i have seen.

[-] AudioBabble@alien.top 1 points 11 months ago

Thanks -- mailcow looks good.

What I'm struggling to find good info on is how to get a web server (based on apache2) and mailcow (based on ngix/docker) running happily alongside.

I'm no expert but I do understand the web server side of things.

I had a go with iRedMail via this tutorial: https://www.linuxbabe.com/mail-server/email-server-debian-11-iredmail

^^ but that hijacked my whole server so it became just a mail server and stopped serving web. It's a shame because the tutorial was pretty comprehensive and just the sort of thing I need!

[-] blind_guardian23@alien.top 1 points 11 months ago

Official doc is here: https://docs.mailcow.email/post_installation/reverse-proxy/r_p-nginx/ (ngnix is a more common choice for reverse Proxy). would recommend using only one service per vps (unless you're really on budget), activate Backup/snapshots.

this post was submitted on 26 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

504 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS