I just recently started playing around with an old pc as my homeserver and am curious of any recommendations for lesser known self hostable foss software that you would recommend

  • kat@feddit.nl
    link
    fedilink
    arrow-up
    7
    ·
    1 year ago

    How has your experience hosting your own email been? I often hear that the big providers (Google, Microsoft, etc.) will simply drop your sent mails.

    • Domi@lemmy.secnd.me
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      I also host my own mail and there’s been little issues.

      Microsoft is a pain in the ass if you’re in an IP space they don’t like like DigitalOcean. Which is ironic because they have the worst spam filter by far in the industry.

      If you want to get through to everyone you will have to:

      • Use a “good” TLD ( not .to, not .xyz, …)
      • Don’t use cloud platforms that are regularily used for spam (mostly DigitalOcean)
      • Use SPF
      • Use DMARC
      • Use DKIM
      • Use a PTR record
      • Don’t make an open relay by accident
      • Use proper ports and certificates
      • Register an abuse account at the big players (Google, Microsoft, …)
      • Don’t use an dynamic IP
      • Keep it up to date
      • Minimize downtime

      I can’t recommend mailcow enough, it makes setting up a mail server a breeze.

      https://github.com/mailcow/mailcow-dockerized

      Use the MXToolbox to verify your server(s).

      https://mxtoolbox.com/diagnostic.aspx

      • luna@beehaw.org
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        It really is not hard, especially if you actually do it right (all of those bulletpoints of yours).

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

      It’s a fun project that’s worth trying yourself once or twice. For me it was a huge learning experience but ultimately too much work to maintain so I ultimately went to a paid email service.

    • MyNameIsFred@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      I have had issues with it over the years. Many will blacklist entire cidr nets for a single bad actor. I get this on my linodes frequently if I proxy traffic through them. Ie: tons of captchas on google/YouTube.

      When I ran my own mail it was similar. Often having to spend time getting IPs off rbls and the like because some other node on my subnet was malicious.

      In the end, I just moved my email over to workspace. Not ideal. But it works.

      One thing I did notice was that as soon as I registered my domain in workspace (but hadn’t even setup mx records or began moving mail) a lot of issues with google immediately stopped, and thus, same with Office.com. I actually ran this way for a while but then google axed freed accounts and I just moved my stuff to them and pay.

      Maybe because I use a gTLD? I dunno. But it was a headache.

    • luna@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I set up my own email on a bsd.amterdam VPS and have had no problems whatsoever. No one drops my mail. I don’t know what slash_nick is talking about regarding maintenance. The only maintenance I have is rotating Let’s Encrypt SSL certificates, and that’s only because I haven’t automated it yet. Domi has good points that can be summarized as “actually do it right”. I got my setup working in about 100 lines of config. Granted, that’s OpenBSD rather than Linux, which is significantly more terse, but it’s still not hard and I wish more people would realize that.