I’m tempted to move to email with my own domain, but don’t really care about the server side of things, I guess I’m following the line that self hosted email is not easy to do, and not sure how reliable I can make my servers.

The other option is to have some other system do the email hosting, and if it is through my domain then there should be no issues with moving around if needed. Hosting all the email archive isn’t really needed either, I’d be fine self hosting or storing the archive.

Is there a set up where some remote service handles email exchange, and you just sync with it eg through POP style interfaces? Id actually prefer if my own server was doing the sync rather than a desktop running Thunderbird etc, that way it is kind of self hosted but also robust to down time. What’s the best practice along these lines?

  • akavel@piefed.social
    link
    fedilink
    English
    arrow-up
    19
    ·
    6 days ago

    FWIW, from what I read, the difficulty in selfhosting email is mainly in how to not get your outgoing mail insta-plonked by increasingly fussy and moody spam filters. Shows up that a huge percentage of receivers are now on gmail, trailed by a few other major players like M$, and you’re on their whimsy, with no way to appeal plonk decisions (and challenging to even find out if they plonked or not). This was reported so even before the era of “AI”, I wouldn’t be surprised if it were even harder now.

      • Parafaragaramus@infosec.pub
        link
        fedilink
        English
        arrow-up
        6
        ·
        edit-2
        5 days ago

        Not entirely true. I do selfhost my Email Server however I do it for 20 years so the IP associated has excellent reremovedtion due to the long record of good behavior. So it is possible but it is an uphill struggle.

      • akavel@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        5 days ago

        Yep, that’s exactly the sentiment I saw in people’s writing, that email has become almost centralized in practice, even though in theory it’s not. I saw this also generalized, that even successfuly promoted distributed/federated protocols still face the constant risk and challenge of becoming centralized in practice, when a major player manages to capture the majority of the field.

        AFAIU, even Mastodon community needs to (and does) purposefully work on promoting alternative instances, so that not everybody ends up on mastodon.social…

  • Adrian Lee@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 days ago

    I’ve taken the second approach you mentioned: I own the domain, host my email with a service provider (I use Zoho Mail), and manage my DNS through Cloudflare. Here are three insights I’ve gained from this experience.

    First, by managing your email provider and domain DNS separately, if you ever want to switch providers in the future, you’ll only need to update the MX and a few TXT records. Your email address will remain the same, and others won’t even notice.

    Second, set up SPF, DKIM, and DMARC right from the start. Be sure to enter the recipient address for DMARC aggregate reports so you can receive daily reports showing which servers are sending emails using your domain and whether they’ve passed verification.

    Third, even if a new domain passes all three checks, emails sent to Outlook may still end up in the spam folder at first. This is because the new domain lacks a reremovedtion. It’s not a configuration error, and it takes time to gradually build that reremovedtion.

  • snrkl@lemmus.org
    link
    fedilink
    English
    arrow-up
    14
    ·
    7 days ago

    IMAP is the protocol you probably want.

    I’m quite happy with “Mail In A Box” as a platform for hosting mail locally with clients.

    There are companies that will do inbound spam filtering and outbound mail relaying to ensure high reremovedtion for outgoing main also. I have clients on duocircle but they’re grandfathered in on reasonably priced plans (the new plans are probably a little expensive for self hosted home mail)

  • nitrolife@hikki.team
    link
    fedilink
    English
    arrow-up
    17
    ·
    7 days ago

    Just recently, someone wrote about https://github.com/stalwartlabs/stalwart here. It is literally an all-in-one server, so it’s quite hard to mess up.

    Email itself is an unreliable delivery method, so usually, if a server cannot send an email to the recipient’s server, it puts it in a queue and tries again after some time. Therefore, a few hours of downtime won’t affect you much. Especially if you don’t need an archive of your correspondence.

    So I still recommend trying to run your own full server with stalwart. At most, a couple of days of problems, and then it will work for years.

    • ArborNode@lemmy.shutes.org
      link
      fedilink
      English
      arrow-up
      9
      ·
      7 days ago

      Can confirm. Stalwart is really nice. They very recently released their 1.0 version. It was a couple days of issues, then later I broke it again for a few days. Other that that, the server hosting end of it has been very smooth. There is another project that goes well with it called Bulwark. The pair of those have been stable and reliable for me for months now.

        • ArborNode@lemmy.shutes.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 days ago

          That would depend on your deployment set up. I do not do that, but many people do. I have a very bespoke ingress route that I coded myself. It consists of a serverless cloudflare edge worker to catch emails, break them into a JSON that is sent over a tunnel to cloudflared as a post. This post is directed at containerized python program that rebuilds the email and that container is the only thing with access to deliver mail to the container running stalwart.

          The reason I do this is not security though. It was a personal project more or less to see if it could be done and if it was reliable. Particularly to see if i could make a secure delivery method to bypass my ISPs CGNAT without paying for and maintaining a VPS. So far so good. And it has no monthly fee.

          Most people I know of (with CGNAT limitations) are just using a cheap VPS with open ports and then the VPS either has the email server there or a tunnel to the SMTP server. If you have a static IP or a DDNS set up where you can properly port forward, that works too.

        • ArborNode@lemmy.shutes.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          7 days ago

          https://bulwarkmail.org/ it’s a web mail client that can fully utilize jmap with Stalwart. Its very snappy and the maintainer is very active. They also put together a good android native client and they are working on one for iOS.

    • paris@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      7 days ago

      I run Stalwart for the server, Bulwark for the webmail frontend (using JMAP), and SMTP2GO for outgoing mail (free tier is more than enough).

  • Reannlegge@lemmy.ca
    link
    fedilink
    English
    arrow-up
    12
    ·
    7 days ago

    POP needs to die a painful death, in the year 2026 when you have multiple devices POP is not the answer, IMAP is the way. Sure you can self host your own email, but you will either need a static IP at home or a VPS with a static IP, than you need to make sure either one is cool with you hosting your email through there. You will need more than a week to figure things out and by the end of the week you will have pulled out all of your hair, I stopped trying going into a few days!

    My suggestion however is to get someone else to host your email, the company that hosts my domain name and my VPS also hosts my email. I think I got 4 addresses with them but they have a wildcard option so that I can have infinite email address; so I can block things if they get spammy, I no longer want to see them, I no longer use their services, or I want a longer free trial which I may have done 2 or 3 times.

  • eyesaremosaics@lemmy.zipOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 days ago

    Good point, I assumed email was asynchronous on the client side but needed to be online on the server side. If it is robust to server down time that makes it easier

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    4 days ago

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

    Fewer Letters More Letters
    CGNAT Carrier-Grade NAT
    DNS Domain Name Service/System
    IMAP Internet Message Access Protocol for email
    ISP Internet Service Provider
    NAT Network Address Translation
    POP3 Post Office Protocol v3, for email; contrast IMAP
    SMTP Simple Mail Transfer Protocol
    VPS Virtual Private Server (opposed to shared hosting)

    [Thread #156 for this comm, first seen 2nd Nov 2026, 23:10] [FAQ] [Full list] [Contact] [Source code]

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    7 days ago

    You can do what you want with IMAP too.

    I use isync, it’s a CLI tool that can sync between IMAP accounts or between IMAP and local plain storage and it has the option to delete messages over a certain age after it copies them.

    Is there a set up where some remote service handles email exchange, and you just sync with it

    Any regular email provider can do this as long as it offers IMAP. I use email clients with my provider’s IMAP but I also use isync on the server to periodically pull all email locally and delete messages older than 30 days. I’ve also installed a local private IMAP server and a private webmail client on top of that private IMAP, which I use to search through old emails.

    This way I normally use the “live” mailbox with my PC/mobile devices, and use the private webmail when I need to search for anything over 30 days old.

    What I do is not “selfhosted email”, technically speaking, because I rely on the live IMAP and SMTP from a provider. But I can switch provider at any time because all my email is @ my custom domains, so I can simply point my DNS to another provider and update my apps to use the new provider’s IMAP/SMTP server.

  • corsicanguppy@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 days ago

    POPs has a place as a protocol, even today. IMAPs is the norm but the right job needs the right tool.

    MAPI is trash.

        • ArborNode@lemmy.shutes.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          6 days ago

          This page has a good overview. Its smaller, it’s faster, it makes more sense to implement, it’s easier to communicate with. POP3 and IMAP are really old. People don’t here much about it because big email providers have no reason to change or improve. For instance, many can’t handle IPV6 still.

          It’s basically IMAP but using JSON. That’s the J in JMAP.

  • balasted@mbin.linuxnation.social
    link
    fedilink
    arrow-up
    2
    ·
    7 days ago

    I did this a few years back and chose to host, for now, with migadu. They have imap, pop, and a web interface. I use POP myself, because I prefer to house my data.

    Client-wise, I use mutt and download messages with mpop, which is a snap to compile if your distro doesn’t have a package.

    I have no complaints. This setup is flexible and simple. Migadu provides clear instructions for setting up your domain.

  • irotsoma@piefed.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    Pop is download only (and optionally delete on server when downloaded), IMAP is sync so read states, moves, deletes, etc., will sync to the server and between all clients.

    But both exist still, just most email providers want you to leave your email on their servers so they can charge you for storage, scan it for advertising, etc., and most people want the state to sync across devices, so a lot of places just don’t implement it anymore and just allow either web-only or IMAP-only (usually paid since they don’t get to show you ads).

    And yes you can set up a local software to download email from another server offering POP or IMAP and then either use a client application or self hosted web application to view them. This is not too common so it might be harder to find instructions, but it’s doable.

    Which part are you concerned with. The biggest issue with email servers is trust. Many companies will refuse to connect to your SMTP server to send you emails or reject your emails your SMTP server is sending to them if you aren’t on a whitelist or if your IP address has been used for spamming in the past and it’s on a black list. The easiest way to get around this is to subscribe to an SMTP proxy service.

    The other issue you may find will happen no matter if you selfhost or not. When using a custom domain, some servers have whitelists of domains in addition to IP addresses and if you aren’t on it they will silently reject emails you send or that they were supposed to send to you. I have a couple of places (health care and financial companies mostly) who do this, so I have to use gmail, which ironically means the email is less secure, especially with Google’s recent changes in policy about reading your emails.

    • eyesaremosaics@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      Yes I was looking into options like this because of the server trust issues, I haven’t looked into SMTP proxies and that could be an option, or maybe it is the same thing. Basically just an intermediate host that has established trust, which I can sync from as needed, while also being robust to downtime on my end

      • irotsoma@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 days ago

        SMTP proxy will have that trust for you and help you on setting up things at the domain level like reverse DNS, DKIM, etc., that are needed to combat forged “from” addresses and many selfhosters miss.

        Only difference is you need a full email stack on your side. Only SMTP traffic (in and out) would go through the proxy and to your local SMTP server. It solves the IP trust issue in many cases (though not all as some places do block the proxies on purpose as well), but nothing can really solve the domain trust issues when they come up except directly contacting the companies who have those policies and often resolving it isn’t really possible since they often don’t have external tech support for that stuff. It’s so annoying when they only whitelist gmail, outlook, and a few other big company domains.

        There are then various ways to view the emails and compose and send. If you want to have clients accessing the email via IMAP/POP then you need that server in addition to the SMTP server, but all of that traffic could then be kept local. If you want to only have a web client there are clients that access the email directly without need for IMAP/POP.

        But this way, although your email does pass through the proxy so you need to trust them, at least the data at rest is not stored there which increase the likelihood they’ll change policies on reading your email like gmail did, or charge you for storage, which is expensive these days.

        Personally I use mailcow which is a pretty nice stack, but it would probably be overkill for many people. And I have a good understanding of the issues with both IP and domain white-/black-listing. So it works decently for my needs.

  • surewhynotlem@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 days ago

    It depends what you mean by sync. There are plenty of services that will host your email server and you just connect via IMAP from all the clients.

    But if you mean sync to an archive, look into openarchiver.

  • CompactFlax@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    54
    ·
    7 days ago

    POP isn’t sync; pop downloads all the messages locally and you tell the server what to do with them once they’re downloaded.

    The result is that you have your messages on your device. But when you go to another device, it’s a different set of messages with different read status.

    Unless something has changed, that’s how it worked last time I used POP and that’s why everyone used IMAP now that there’s multiple devices (phones, laptops) in play.

    You’re right about self hosting email; it’s a pain.

    • Reannlegge@lemmy.ca
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 days ago

      I used IMAP with my ISP, I had a technical question about something and the tech worker bee was surprised that they still offered IMAP as everything for the worker bees end had been moved to exchange. I read up on it after the chit chat and it appeared they where looking at transitioning everyone over to exchange in the coming years, so I created an away message to my ISP mail, forwarding stuff from there to one aand address at my domains IMAP server full time slowly adding things to the do not forward list.

  • Zak@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    ·
    7 days ago

    Yes, but IMAP is more common. I’ve been using Maddy for years, and it’s a fairly low-effort solution.

    The fussy part in the modern era is DNS setup to ensure other providers accept mail from you, but that’s a one-time step.