• HeartyOfGlass@lemm.ee
    link
    fedilink
    English
    arrow-up
    23
    ·
    11 months ago

    I don’t buy into the myth that running your own mail server is “hard”.

    For a server with only a few users, the hard part is outgoing mail, ensuring your mails get delivered. I did what I can here, and simply use a paid service on another domain for important things where delivery must be “guaranteed”.

    It’s an interesting post, but saying it’s “not hard” and then “welllllll it’s not hard if you don’t bother with a spam filter & pay a professional company for ‘important’ email” is pretty misleading.

    • 𝘋𝘪𝘳𝘬@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      2
      ·
      11 months ago

      It’s also not true. I ran an own mail server for a few years. If you’re strict with the protocols it actually isn’t a hard thing. Even setting up spam filtering isn’t really complicated. Everything has to be done once. Maintenance really isn’t problematic. Just keep an eye on the monitoring if something crazy is happening and regularly do updates and check your certificates.

      • crtxcr@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        12
        ·
        11 months ago

        Author here. Let me clarify.

        For a server with only a few users, the hard part is outgoing mail, ensuring your mails get delivered.

        It is not particularly difficult from a technical point of view.

        But if you get blocked by big tech even when doing everything right (reverse DNS, SPF, DMARC, DKIM, RFC compliant MTA), you have to beg them to unblock you. This part is time consuming.

        I’ve read horror stories where it went well for years until suddenly Gmail started flagging well-behaved servers as spam without any clear reason. Sometimes mail got through, sometimes it didn’t, without any clear pattern or explanation.

        I simply don’t have that kind of time and nerves to deal with this. “hard” may be the wrong word, but it is nerve-wrecking.

        • HamSwagwich@showeq.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          11 months ago

          That’s why I finally gave up after nearly 3 decades of running my own email server. It’s just stamping out fire after fire and my time became way more valuable as I got older.

  • Osayidan@social.vmdk.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    11 months ago

    mail is the one thing I refuse to self host for the simple reason that despite not being particularly hard to get up and running initially, when it doesn’t work for whatever reason it can be and often is a gigantic pain in the ass to deal with, especially when it’s something out of your control. For personal there’s very good free options, for enterprise those same free options have paid options.

    Whether it be gmail having a bad day and blocking you or whatever cloud provider or on prem infrastructure crapping out for long periods of time causing you to be cut off from email for a while and potentially missing incoming mail permanently if the retries time out. Or anything in between. It’s one of those things where I’m glad it isn’t my problem to deal with.

    My only involvement with email is ensuring I have a local copy of my inbox synced up every week so if my provider were to ever die I still have all my content.

    • Vlyn@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      On the other hand you can lose your email address at any time if you don’t own the domain. So if Google decides they don’t like something you wrote your @gmail.com address could be gone tomorrow. And with it all your accounts you set up (as you need email usually to login or do changes).

      The whole e-mail ecosystem sucks :-/

      My self-hosted mail server works fine for now, but that could change at any moment.

  • Yewb@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    Dealing with arbitrary black lists is annoying as fuck, contacting the admin or the automated tools to get your ip removed is hard as fuck, you will get put on there for no discernable reason and burden of proof of innocence is on you.

  • brenno@lemmy.brennoflavio.com.br
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Have anyone tried to self host the email receiving part while using some enterprise service (aws ses, sendgrid or something) to send emails without worrying about being flagged as spam? What’s your thoughts about this setup?

    • MajorHavoc@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 months ago

      The compromise I’ve landed on is that I host my own DNS mx records, and point them to a paid enterprise mail provider.

      This gets me the advantages of a paid provider while keeping my actual email address fully mine, to take wherever I want.

      I did still have to learn a bunch of DNS rules in order to send all the correct “I’m not an evil spammer” headers and DNS records. But following a one page tutorial worked for me.

      Edit: A disadvantage of my approach is that I’m still at the mercy of my email provider if I want to export my message history, and for the privacy of my message history.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    11 months 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
    HTTP Hypertext Transfer Protocol, the Web
    IP Internet Protocol
    NAS Network-Attached Storage
    SMTP Simple Mail Transfer Protocol
    nginx Popular HTTP server

    5 acronyms in this thread; the most compressed thread commented on today has 14 acronyms.

    [Thread #24 for this sub, first seen 11th Aug 2023, 09:25] [FAQ] [Full list] [Contact] [Source code]

  • snrkl@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 months ago

    I aplaud the write up and recognise that the OP has developed a solution that suits their use case.

    Personally I started running my own mail around the same time, but host for several family members at the same time.

    I went a slightly different route and pay for a mail filtering service for inbound filtering and outbound relay. All up costs me $90USD per year for inbound and $4 a month for outbound

    This has solved most blacklist and outbound mail server reputation issues.

    I used to run zarafa till they went commercial. I’ve since migrated to Mailinabox as a platform. Its pretty resilient. (I’ve just disabled greylisying and spam detection as I’ve got upstream MX filtering already) I’ve also recently been through a MiaB major upgrade - it was pretty simple once I actually read the instructions properly!

    • Andrew@gioia.news
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Would you mind sharing what outbound relay you use? Also been running MiaB for a while and have lately been getting fed up with reliability issues.

  • Illecors@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    11 months ago

    Article is not great, but I share the general sentiment that running your own email is not difficult. Setup takes some time, but once done - it’s just a regular linux server, nothing fancy about it. Letsencrypt takes care of the certs, cron takes care of rebooting when necessary.

    • nakal@kbin.social
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      Reboot? Since when does Linux need a reboot? I’ve been thinking about migrating from FreeBSD to Linux, but now I am confused.

      • Illecors@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 months ago

        It has always needed a reboot when it comes to kernel or init. Same applies to BSDs.

        • nakal@kbin.social
          link
          fedilink
          arrow-up
          0
          ·
          11 months ago

          You mean when you update the kernel? No one updates init on BSDs. This is mostly a entire world upgrade. But I’d never reboot from cron. My servers run 100 days without a reboot on average. In most cases there is no reason to update world, only the packages.

            • nakal@kbin.social
              link
              fedilink
              arrow-up
              1
              ·
              11 months ago

              Of course, but I can see and understand what is patched and can see if I’m affected or not. In the previous version I haven’t been affected for 500 days.