![](https://downonthestreet.eu/pictrs/image/38b4b23b-2599-47f1-b2da-078fbc767b96.jpeg)
![](https://lemmy.world/pictrs/image/8286e071-7449-4413-a084-1eb5242e2cf4.png)
Self hosting email is a difficult business.
The main issue is that you must have a static IP and that IP needs to have a good mail reputation or you will be blacklisted in a few days.
Said so, Today there are pretty good selfhostable email stacks like stalwart
My solution, which has been running for over two decades, is bare metal with postfix, dovecot, opendkim, opendmarl, spamassassin and a few more poeces which are all absolutely mandatory. Plus a nice webmail and a few more optional pieces.
But on gentoo, not on nix
Use OpenWRT and enable Fast Transitioning, works perfectly.