this post was submitted on 01 Dec 2023
1 points (100.0% liked)

Self-Hosted Main

21 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] tschloss@alien.top 1 points 1 year ago

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.