3 ms·
I recently got into running my own mail server on my NixOS instance using[0]. The server has a total of 1.5 GB RAM and 10 GB of disk space, but it was sufficie
by siraben 5y ago
I recently got into running my own mail server on my NixOS instance using[0]. The server has a total of 1.5 GB RAM and 10 GB of disk space, but it was sufficient to get 10/10 on mail tester[1]. Here's my 12 line mailserver config[2]. It was quite liberating once everything was set up, because then you know you are in full control of your communications.
It was more annoying to set up DNS than the mailserver itself, is there a good way to automate that as well?
[0] https://gitlab.com/simple-nixos-mailserver/nixos-mailserver https://gitlab.com/simple-nixos-mailserver/nixos-mailserver
[1] https://www.mail-tester.com/ https://www.mail-tester.com/
[2] https://github.com/siraben/dotfiles/blob/master/server/mailserver.nix https://github.com/siraben/dotfiles/blob/master/server/mails...
- lillecarl 5y agoTerraform has modules for many popular DNS providers. But that's another tool with its own state to maintain. I've used terraform for both Route53 and Cloudflare. siraben.dev doesn't seem to be registered anywhere so I don't know if there's one for your provider.
- siraben 5y agoIt’s registered via Google DNS. Looks like terraform can manage the records for it. Thanks!
- greggman3 5y agoAccording to many of the other posts here, running your own email server does not put you in"full control of your communications".
- siraben 5y agoThe reason that motivated me to run a mailserver is best described as an artisanal choice, not a practical one[0]. After all, I'm running this on a constrained system and certainly don't have ambitious to scale this to corporate scales. Like some other commentors here the point is mostly to learn and have something semi-useful at the same time (I've had some pleasant exchanges over my own email already.) [0] https://utcc.utoronto.ca/~cks/space/blog/sysadmin/EmailServersNoLongerPractical https://utcc.utoronto.ca/~cks/space/blog/sysadmin/EmailServe...
- denton-scratch 5y agoOnce your outbound mail leaves your server, it's destiny is out of your control. And you don't have full transparency into the processes your inbound mail has been subjected to. That's in the nature of email. It's orthogonal to running your own server.