Basically, I’d like to have my own domain e.g onlinepersona@mydomain.com but not go through the hassle of hosting my own email service: I’d like to use another service that handled SPF, DMARC, and whatever else for me, grab the emails from their service using POP, and make it available to my email client on android and Linux using IMAP. SMTP will be through the third party.
This way, if the third party starts doing some bullshit like trying to lock me in, donating to a dickhead, or whatever else I disagree with, I can cancel my subscription, move to another third party, and keep all mails on my server.
How can I achieve this? Which search terms should I be using? “Self host email server” brings up stuff that’s the equivalent of self-hosting gmail, AOL, posteo, kollabnow, or whatever, but that’s not what I want. “Selfhost POP relay” doesn’t have much better results, always bringing up SMTP relay…
I can recommend purelymail.com. Cheap, works great with my custom domain, allows unlimited mail boxes ans users for the whole family.
You can run a dovecot (or any IMAP server) where ever you want and use fetchmail to pull data from POP-server into it. There’s plenty of discussion and instructions around the web so I won’t copy’n’paste them here, search for ‘fetchmail dovecot’ or something similar.
Seconding fetchmail. It’s configuration is quite elaborate for a whole bunch of situations. I’ve used it in a small office situation to pull email from their legacy ISP’s POP into an internal IMAP server, so they could have multiple clients sharing mailboxes. (And so they couldn’t set weak passwords on an internet-connected system :-/ )
You’re describing a mail client. Why would you need an IMAP server?
Does your POP mail client sync across android and Linux (3 devices BTW)? Do share it!
I’m confused about the POP requirement if you’re not already using a specific service. Every mail server has IMAP.
This way, if the third party starts doing some bullshit like trying to lock me in, donating to a dickhead, or whatever else I disagree with, I can cancel my subscription, move to another third party, and keep all mails on my server.
I would like to be able to change providers and have the emails available on multiple devices.
IMAP allows multiple devices but leaves the emails on the server. POP pulls them from the server but that means they aren’t available to other devices anymore.
The solution (I think) is to pull using POP onto a shared server, then make the pulled emails available using IMAP.
It wouldn’t work the way you’re imagining, at least not by default. You’re thinking of using IMAP as an archive of sorts, but that’s not how it organized data. The exchanged mails between the IMAP host and the MTA need a unique identifier to organize contents of the DB, and this would not be possible or automatic if your switched the upstream MTA.
Maybe you could run an interchange of sorts that pulls mail and acts as another interim MTA and pushes them to something to achieve what you’re going for. I’d be shocked if you found anything that documents a solution like this because it’s 100x easier to just organize multiple accounts and have local organized archives.
The exchanged mails between the IMAP host and the MTA need a unique identifier to organize contents of the DB, and this would not be possible or automatic if your switched the upstream MTA.
It sure is possible. I’ve copied maildirs over different software, different servers, local copies back to the server and so on. Also if you just rely on your own IMAP server the upstream doesn’t matter as fetchmail (or whatever you choose to use) anyways communicates between hosts on their preferred protocols.
Obviously there’s a tradeoff since now you’re responsible for your backups and maintaining your server, but it can sit nicely on your private LAN with access only locally or via VPN without direct access to the internet. And you don’t need MTA to run IMAP server in the first place.
deleted by creator