Comment on I want to self host my email server.

JRaccoon@discuss.tchncs.de ⁨22⁩ ⁨hours⁩ ago

As others have said, MS, Google, and other major providers are eager to reject or send emails from “unknown” IP addresses to the spam folder. But most people send very little email nowadays and mostly just receive it, so this might not be an issue for you.

In my experience, having SPF, DKIM, and DMARC properly configured from the beginning helps a little. Remember to set up the PTR record too. At least Mailcow helps with the DNS setup enormously, giving out most of needed values for you just to copy-paste.

Unless you’re lucky enough to have a static IP address and the required ports open by your ISP, you’ll need a VPS. Note that some VPS providers block common email ports as well (to prevent spammers from abusing their infrastructure), or require you to specifically request that the ports be opened by customer support. There’s a useful list of suitable providers here.

I recommend Mailcow. It runs the whole Postfix-Dovecot stack in Docker containers and comes with an easy-to-use admin interface. It’s not the most lightweight solution, but it’s very easy to keep updated with the provided update script.

original
Sort:hotnewtop