I have been thinking of completely going off Google. I have a Nextcloud server for documents and contacts and calendar. Thinking of moving mail away too. Currently I am conflicted between hosting my own email server. On searching only advice I am getting is not to do it.

How many of the homelabers do host their own email server? What software do you use? Any tips.

  • RagingToad@feddit.nl
    link
    fedilink
    English
    arrow-up
    15
    ·
    1 year ago

    Incoming mail is very doable.

    Outgoing mail is hard because no one will your trust your server, the easy way is let someone else send your mail.

    People get stressed about your receiving server being down sometimes, but this actually not a big deal. Mail senders typically will try for 48 hours or so to deliver mail, and if it doesn’t get delivered it will be sent back to the sender with a “could not be delivered” message. Very little gets actually lost.

    • skankhunt42@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      The thing that got me to pay someone else to host my mail is having outbound blocked by google/Microsoft all the time for no reason.

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        There are reasons, and you can fix them if you know what you’re doing. That’s what DMARC reports are for.

  • ikidd@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I use Mailcow Dockerized with no issues. But I’ve also ran email servers for 3 decades personally and professionally. If you try it, I would start out with a completely different domain and be prepared to be down for a long time while you figure out how to appease the anti-spam gods with things like SPF, DKIM, DMARC and DNS issues.

  • shrugal@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I self host it on my Synology NAS at home, using their MailPlus server and clients. It definitely took some time to get it up and running, but now it works without issue and very little maintenance required. My domain provider also acts as backup mx (for when the NAS is offline) and SMTP relay (for sending IP reputation), and the NAS does a daily encrypted cloud backup so nothing can be lost.

    The one pain point I have is spam blocking. It does a good job blocking most of the spam, but it’s not as good as something like Gmail unfortunately. I have to add custom keyword filters from time to time, and I still get 1-2 spam mails every day that make it past the spam filter. There are paid services to filter out spam, but I think it’s not really worth it in my case.

    Here is a breakdown of the costs I posted the other day. I’d pay for the NAS, domain and backup service anyway, so the email self hosting is basically free.

  • redxef@feddit.de
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Exim and Dovecot. With a clean IP on a VPS and SPF, DKIM and DMARC I haven’t really encountered any problems yet. Though I’m only doing it for about 2 years.

    • This is the way. Exim is far easier to config than Postfix, which is what I’m using now. I’d run Exim before for years, but thought I’d try Postfix since it’s the popular kid. It was a mistake, but everything is running and stable, and… well, sunk costs is keeping me from reconfiguring my set-up.

      It’s a bit of effort to get everything configured correctly in any case, because of the number of moving parts. SPF and DMARC on the DNS entries, dovecot, Postfix or Exim, and a spam manager. Spam management consumes a huge amount of resources.

      It really is the only way, though.

  • CarbonatedPastaSauce@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Been hosting my own email in my home with Exchange Server for almost 2 decades. I don’t recommend it unless you have experience and a MSDN account though.

    Email used to be easy, but with all the anti spam and trust setup required these days it’s a bit more difficult for the inexperienced. You’re going to need to know DNS, SMTP, certificates, and have a plan for message hygiene (anti spam / anti malware).

    That said, if you want to do it and can suffer some issues while you’re learning, go for it. That’s how you get experience. :)

  • Max-P@lemmy.max-p.me
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I do, Postfix and Dovecot. Mine’s got 10 years of history so I’ve been spared being blocked everywhere.

    Most will tell you the software side is not too bad these days but the constant fighting to get your emails through can be really rough.

    Personally I find it useful if only for the sake of just registering every service to its own unique email address so I can track who got my data where, and I get the privacy of Google not knowing every site I’m registered with. I still use my Gmail when I want to be sure it goes through.

    I really don’t send that many emails so it works pretty well for me.