Hi folks,
I am wondering if there are resources for setting up a private email server that acts as their primary but sends and receives emails through a provider such as proton. I’ve seen many posts on the cons of personal email hosting so to get around that, is it possible to use another provider in front of our own.
My goal is really to keep a backup of all emails, but also to “easily” swap providers if needed (kind of like dependency injection), while maintaining operations on my end the same, i.e. use my own email server.
I am inexperienced with email protocols and just hosting email servers in general. Would appreciate if someone can chime in and let me know if it is possible at all, and if there are good solutions.
Thanks
A simple approach would be to just run an IMAP server. For receiving you use a script using POP3 to download newly arrived emails (which is run every 5 minutes for example). If your server is offline, nothing gets lost.
For the sending side you can either use your mail ISP’s SMTP server directly from the client or you install a local relay as a mitm to the ISP’s SMTP.