So I’m migrating stuff from my old server to a new provider and only thing left is email.

The problem is I used luke smith’s emailwiz script ( the script and setup itself isn’t a problem ) because it uses system users for managing users with dovecot and friends to setup a mail server.

So now I’m looking for a new email server to selfhost (preferably docker/podman) that in the future I can easilly migrate.Would also love if somebody has a reccomendation on how I could backuo and import emails from the old server.

NOTE: I use caddy as webserver, so the server should have a simple way on getting ssl certs, or abikity to easilly make use if caddy one’s.

  • smiletolerantly@awful.systems
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    23 days ago

    It’s a bit unconventional maybe, but I vote simple-nixos-mailserver - IF you are curious / willing to learn nix. It’s essentially just sanely configured dovecot, postfix, rspamd.

    My config for those three combined is about 15 lines, and I have never had an issue with them. Slap on another 5-10 lines for Roundcube as a webmail client.

    Since it’s Nix, everything is declarative, so should SOMETHING happen to the server, you can be up and running again super quickly, with the exact same setup.

  • ShortN0te@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    23 days ago

    Mailcow is amazing.

    Importing exporting i would just use any mailclient and drag-drop them over. Depending on how many Mailboxes you have to transfer.

    • truthfultemporarily@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      23 days ago

      This is probably the way, because a traditional “mail server” is actually 4-5 different servers working together.

      • postfix for SMTP
      • dovecot for IMAP
      • amavis to plug in…
      • spamassassin as anti spam
      • clam-av as antivirus

      And they can all be very easily misconfigured to break everything completely. Great learning experience though.

    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      23 days ago

      Looks amazing. But the dual licensing scares me. The open variant could be artificially limited in functionality or could end up basic abandon ware.

    • Quokka@mastodon.au
      link
      fedilink
      arrow-up
      1
      ·
      17 days ago

      @muntedcrocodile @crony I used to run Exchange and have had various others for my 2 person house. Sometimes overkill. These days I don’t think I’d bother running mail at home, even on reliable hardware, a decent connection and with a static IP. Hassles with getting on/off blacklists even with all DKIM, SPF etc being in place are things I don’t want to deal with these days.
      My incoming mails are a couple of bank notifications, monitoring alerts and notes from schools and sports clubs. A lot of system admin for not much actual use.
      I might revisit it once the winter evenings come in.

    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      22 days ago

      This has been said over and over again. I have been hosting Mail now for over 2 years and have yet to encounter any problems. Although, i would not recommend to set it up manually and rather advise to use one of the ‘all in one’ suggested solutions here in the thread.

        • ShortN0te@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          21 days ago

          It would be more reliable to use a ‘clean’ not blacklisted static IP.

          But in theory you could just use ddns and update the IP. But I actually never tried it.

          Mailcow comes ready out of the box. Just change the DNS entries according to Mailcow and you are good to go.

            • ShortN0te@lemmy.ml
              link
              fedilink
              English
              arrow-up
              1
              ·
              20 days ago

              Yes thats why i said in theory. I doubt that many residential IPs are blacklisted, but still not optimal.

              IPv6 only works but there are probably many Mail Servers that are IPv4 only, so you will not receive mails from them.

              If you are serious about it, rent a VPS or get a static IP on your residential connection.