this post was submitted on 13 Apr 2026
23 points (92.6% liked)

Selfhosted

58565 readers
358 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Solution: FetchMail + Dovecot. Just need to set it up, but it's pretty much what I was looking for.


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.

top 17 comments
sorted by: hot top controversial new old
[–] dap@lemmy.onlylans.io 8 points 3 days ago (4 children)

Might want to check out addy.io. It's a managed service, but I think it supports your use case.

[–] fizzle@quokk.au 2 points 3 days ago (1 children)

If i understand correctly addy.io just forwards incoming email to another public facing server. So OP would need to configure and selfhost their own server, even if it only ever receives mail from and sends mail to addy.io.

This might be a potential solution, but I dont think its really what they wanted.

[–] onlinepersona@programming.dev 1 points 3 days ago

Indeed. The solution to what I actually wanted is here.

[–] onlinepersona@programming.dev 1 points 3 days ago

Thanks, it's not what I'm looking for, but a good thing to out in front of the email service.

Wow. Some pretty reasonable prices. Thank you stranger.

[–] ttyybb@lemmy.world 1 points 3 days ago

I've been using them for a while and they've been pretty reliable

[–] NotEasyBeingGreen@slrpnk.net 4 points 3 days ago (1 children)

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.

[–] onlinepersona@programming.dev 4 points 3 days ago (1 children)

Yes, this is what I was looking for! Thank you.

Now I just have to find out how to configure everything to my liking.

[–] fizzle@quokk.au 1 points 3 days ago

My experience with dovecot has always been pleasantly surprising. doveadm in particular. Just the documentation seems less readable than it could be.

[–] SirHaxalot@nord.pub 3 points 3 days ago

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)

[–] Decronym@lemmy.decronym.xyz 2 points 3 days ago* (last edited 1 day ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
IMAP Internet Message Access Protocol for email
SMTP Simple Mail Transfer Protocol

[Thread #236 for this comm, first seen 14th Apr 2026, 01:40] [FAQ] [Full list] [Contact] [Source code]

[–] UnpledgedCatnapTipper@piefed.blahaj.zone 2 points 3 days ago (1 children)

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.

[–] fizzle@quokk.au 2 points 3 days ago

This isn't really what OP is asking about.

They want emails to reside on their own hardware. So zoho might run the public mail server but OPS own server pulls the mail down from there.

[–] SteveTech@aussie.zone 1 points 3 days ago (1 children)

Oracle Cloud has their Email Delivery service, which is basically just a straight SMTP proxy, and it's free. I believe proxies still need to be configured as a sender in SPF and have their own DKIM signing key, but Oracle will still send without them, although wildcard senders will require them.

[–] IratePirate@feddit.org 3 points 3 days ago* (last edited 3 days ago) (1 children)

This does, however, mean, you're running all of your emails through an oligarch-owned company and is hardly "self-hosted", right?

[–] SteveTech@aussie.zone 1 points 1 day ago

True, but it's only the sending emails and I don't have to worry about getting my ISP to set PTR records just to pass spam filters. Your domain's MX records still point to your server.

[–] Brkdncr@lemmy.world 1 points 3 days ago

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.