The goal is to allow easily moving away from an email provider e.g from protonmail to tutanota or fastmail or whatever. How do people achieve this?
I just want to have myname@mydomain, the emails to go to whichever managed email service that allows it, and to then grab everything from that service with POP to then self-host a proxy that multiple devices can connect to. STMP can go either to my hosted server or the managed host, doesn’t matter.
The idea is explicitly not to do the job of a managed email service. No DKIM, no SPF, no DMARC, none of that.
Distro is NixOS, but can adapt any instructions given. Mentioning just in case somebody already has a nix configuration with this setup.
I’m old school, and would set up Fetchmail. It can pull down either POP or IMAP (I haven’t used POP in 25+ years, but I guess it works fine still). Then I’d run Dovecot or some other IMAP server on my host to read mail from there.
Best option is probably to look for providers that support custom domains, so you can point your domain directly to their mail servers. This usually require a paid subscription. Upside is that you retain control over your domain without having to host any email server.
The problem is that by putting a mail relay in between, while technically possible will break the SPF and DKIM chain for all emails that you forward. I don’t think there is a good way around this since they check against the senders domain (and assuming that you can’t get the email provider to trust your relay server)
I’m using Zoho to host my emails for my custom domain (I pay like $15 per year or something). I do have DKIM, SPF, and DMARC configured, as they’re not hard to configure, as they’re literally just a couple of DNS entries.
Moving to another provider would just be a matter of changing these DNS entries along with your MX record to point at your new provider.
Might want to check out addy.io. It’s a managed service, but I think it supports your use case.
Wow. Some pretty reasonable prices. Thank you stranger.
I’ve been using them for a while and they’ve been pretty reliable
Your basically setting up and email server with a gateway service for inbound and outbound mail delivery.
This is typically called a secure email gateway. I’m not sure if there are any designed for personal use.



