I have run my own mail server now for 20+ years. its is runnig postfix , with spamassain. the users have imaps, and roundcube www gui.

It had been running fine, and have been updated HW / OS a lot of time over the years, now its runnig on rocky O/S

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

      The ultimate boss fight is hosting your email server AND making your family use it

      • cooopsspace
        link
        fedilink
        English
        arrow-up
        22
        ·
        1 year ago

        Actually to be fair, mine works fine and always has. The final boss is making Hotmail/live/Microsoft actually accept your email despite you jumping through all the hoops to have perfect spam score.

        • Lichtblitz@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          7
          ·
          1 year ago

          Everyone keeps saying that but I just can’t see it. The only time my mails were rejected was because I didn’t know what I was doing at the beginning of my journey. Now, whenever I changed my stack or did some major updates the past 20 years or so, I just go to 2-3 sites that analyze my mail server from the outside and tell me if there is anything wrong. The free tier is always more than enough. Just make sure there is at least one service in the list where you send an email to a generated mailbox and have it analyzed. Just looking at the mail server is not enough to find all potential configuration issues.

          I aim at a100% score. It’s time consuming the first time around but later it’s just a breeze.

          • cooopsspace
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 year ago

            Mine also works fine though. That being said I do only apply for jobs using this email so if you have a problem with hosted email providers I probably don’t want to work for the company anyway.

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 year ago

        Would never want to do it. I don’t wanna be responsible for the outage and them needing an important email.

    • ninjan@lemmy.mildgrim.com
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 year ago

      IMHO, as someone running his own mail server, the real final boss is LDAP and implementing SSO on all your selfhosted goodies. Bonus points if you then use it to login to other services that support OAuth 2.0.

    • Konlanx@feddit.de
      link
      fedilink
      English
      arrow-up
      9
      ·
      edit-2
      1 year ago

      I have my own mailserver just for me and it wasn’t that complicated to be honest. I set it up with Mailcow in Docker in under a day. So far it has been stable with regular backups and updates through Lighthouse.

      Maintenance comes down to 5 minutes every three months because somehow Let’s Encrypt and Mailcow don’t like each other and I have to renew the certificate manually.

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

        I had read his post. There were plenty of other comments asking how/where and this makes it an easy option.

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

    As someone who has zero experience hosting anything, what are the benefits of doing this?

    Thank you!

    • Trondk@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      1 year ago

      Well I didn’t want google to read my mails, and use the content to generate ads, or profiles on me or my family. Besides that it’s keep me up to date on mailserver and mailman . Besides I do it professionally so it was easy

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

    I watched a talk, “fun with email” by Dylan Beattie, and his personal advice was “dont bother self hosting unless you’re using it for contacting other self hosted users”.

    Without the dedicated IT support and clout of a large company he said you’re gonna spend more time asking other servers to whitelist you than you’re gonna actually spend using your email.

    Is that something you can corroborate?

    • Thoms@red.cyberhase.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      That’s not true. I run my own email server for 15+ years now. There are only 5 of 6 mailboxes. I never had a problem with any other host. Not Microsoft, not Google. Maybe, the reason was, the IP was also 15+ years assigned to the same domain. I have only known senders, family and friends.

      The last days, the hole subnet was blacklisted on some blacklists. So that was not my fault, the growing business of the provider lead to this situation. Eventually I moved to a very small provider and run a mail cow on a vps. On a fresh IP without any reputation. Same ‘customers’, the only issue was with T-Online in Germany, but a mail solved this. To keep this kind of issues away, I use sendgrid as a SMTP forward. With only a few mails per day, this is free. Mailcow provides a lot of features, rspam filtering, a lot better and faster than spamassin. Active sync, imap, webmail, everything. Solid backup, runs without any problem.

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

    Now for the Final Challenge, write an eli5 tutorial on how to host and maintain a mail server!

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

    I am currently working on this. I got a static IP and port 25 unblocked from my isp. I am trying to do opensmtpd and dovecot with dkim signing.

  • x00@kbin.social
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    I’ve been running a mail server for so long I used to understand Sendmail’s M4 configuration language!

  • jcal@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Do you know if this setup could run on 512mb of RAM? I tried to set up mailman 3 but it gets OOM-killed immediately

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

      You can, as long as you aren’t trying to do virus scanning - ClamAV needs a couple of GB on its own

    • haydng@lemmy.nz
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      Mines running postfix, spamassassin and dovecot and runs pretty happily in 1GB, but when I was running in 512MB Spamassassin would get killed fairly regularly when it ran out of RAM

    • cooopsspace
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Doubt it, but it’s the spamassasin part that I think won’t work.

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

        Yeah, I’d recommend using rspamd for lower-end hardware over spamassassin. Might be a bit more work to set up, mostly because it’s not as popular, and there are fewer tutorials, but it doesn’t have the overhead from running on perl like spamassassin. That said, while there are people using rspamd on systems with 512MB of ram, they are usually smaller, personal setups that aren’t dealing with hundreds of emails a day.

        • cooopsspace
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 year ago

          Look a basic VM from OVH or Vultr runs you like $5 USD. I’m talking 1 core 1gb ram. If anyone is offering 512mb for any less than like $2.5 is a scammer. But seriously, $5 is immensely worth it.

    • Trondk@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      2
      ·
      1 year ago

      Nope sorry, that is to little ram. I don’t know how much ram my mailserver uses but will look

  • ninjan@lemmy.mildgrim.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Awesome, I’m only on year 3 or so. Have you implemented DANE? I haven’t gotten to a point where I can properly make it work but I’m slowly getting there.

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

    I’m in a similar boat. The only major issue I’ve found people are likely to run into is mass IP blocks from MS/Google. Where do you host it? Cloud provider these days or colo type place?

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    edit-2
    1 year ago

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

    Fewer Letters More Letters
    IMAP Internet Message Access Protocol for email
    IP Internet Protocol
    POP3 Post Office Protocol v3, for email; contrast IMAP
    SMTP Simple Mail Transfer Protocol
    SSO Single Sign-On

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

    [Thread #38 for this sub, first seen 13th Aug 2023, 16:35] [FAQ] [Full list] [Contact] [Source code]

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

    Those that are hosting their own mail server, did you stop using regular mail (gmail, outlook etc). Is possible to migrate to self hosted mail? I don’t think I can’t stop using gmail and other google services that’s stopping me from trying to do this.

    • Trondk@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I’m am stopping using Google services, mail moved ( newer was there to begin with ) Contact moved Missing calendar, but it will be moved.

      I’m de-googling my setup 😁