I like using thunderbird to have all my emails in the same place, in a unified inbox. This doesn’t allow me to access my inbox on my phone etc though, so I’m looking for a FOSS way to solve this problem.

My idea would be to selfhost a website, like a webmail site, that has the functionality of connecting to different mail servers and unifying the inbox to get all my mail in the same place. Should be accessible by android phones and iPads.

Is there a better way to do this? Maybe with nextcloud? If anyone has an idea, let me know.

  • rhabarba
    arrow-up
    1
    arrow-down
    5
    ·
    9 months ago
    link
    fedilink

    Websites do not have the functionality to connect to mail servers. These are different protocols.

    For mail server infrastructure, Stalwart is said to be pretty good. I haven’t had a chance to try it yet.

    • conciselyverbose
      arrow-up
      6
      arrow-down
      1
      ·
      9 months ago
      edit-2
      9 months ago
      link
      fedilink

      This doesn’t make sense.

      A website is basically just the responses a server sends to a browser. That server has any functionality you want it to.

      • rhabarba
        arrow-up
        1
        arrow-down
        3
        ·
        9 months ago
        edit-2
        9 months ago
        link
        fedilink

        A website is the response a web server sends on a web port to a web browser. SMTP on port 80/443 won’t work well, but please try.

        • conciselyverbose
          arrow-up
          5
          arrow-down
          1
          ·
          9 months ago
          link
          fedilink

          You understand that computers can use more than one port?

          There’s nothing abnormal about what he’s requesting.

          • rhabarba
            arrow-up
            1
            arrow-down
            4
            ·
            9 months ago
            link
            fedilink

            You understand that web servers (listening on a web server port) and mail servers (listening on one or more mail server ports, possibly on the same computer) are entirely different technologies?

            • conciselyverbose
              arrow-up
              5
              arrow-down
              1
              ·
              9 months ago
              link
              fedilink

              They’re just protocols. There’s nothing preventing a program from interacting with both. Webmail isn’t some mystical art no one’s ever thought of before.

              • rhabarba
                arrow-up
                1
                arrow-down
                4
                ·
                9 months ago
                link
                fedilink

                Again, I’m talking about the server part here, and there is a lot preventing a server to be both a web and a mail server.

                • conciselyverbose
                  arrow-up
                  4
                  arrow-down
                  1
                  ·
                  9 months ago
                  link
                  fedilink

                  It’s just a computer (or program, depending on context). It can do whatever you want it to.

                  If I want to write/modify a mail server that watches video feeds from 6 different beaches and only bothers accepting mail when beaches 2, 3 and 5 are empty and beaches 1, 4, and 6 have 500 people, nothing is stopping me. It’s stupid and a waste of time, but it’s a computer. It can run arbitrary code.

                  That’s ignoring that if you read what he wants, it would be a client to the actual recipient mail server and only needs to actually serve the web interface so that he can access his email from various browsers.

    • lemmyreader
      arrow-up
      3
      arrow-down
      0
      ·
      9 months ago
      link
      fedilink

      Stalwart looks neat, thanks for mentioning it. 🐧

      • rhabarba
        arrow-up
        2
        arrow-down
        1
        ·
        9 months ago
        link
        fedilink

        If you try it, report back. ;-) My current setup is mostly OpenSMTPD & Dovecot, but I’m open for good reasons to move away.

        • lemmyreaderEnglish
          arrow-up
          2
          arrow-down
          0
          ·
          8 months ago
          link
          fedilink

          Tested Stalwart, the all in one option with both JMAP and IMAP. Looks fairlygood, works fine with IMAP and SMTP, but making it work with JMAP clients took me some time. This page helped for the F-Droid client lrr.rs. With Cypth it was a no go. SnappyMail webmail software is not mentioned on the JMAP clients page at all but it is with development 1/2 done with JMAP implementation. In a few months time Stalwart is expected to have a web interface for admins. Looking forward to testing again when that is available.

        • lemmyreaderEnglish
          arrow-up
          2
          arrow-down
          0
          ·
          9 months ago
          edit-2
          9 months ago
          link
          fedilink

          okay :) I find it interesting because :

          • Build in Rust
          • Supports several databases like rocksdb, PostgreSQL, MySQL, SQLite
          • Seems to support connecting to your current logins setup e.g. LDAP or MySQL db
          • Got funding via NLnet
          • Supports JMAP
          • Does not seem to require Docker (which means for me some flexibility network config wise to run it on an existing server where non Docker based services are running).
          • Encryption at Rest enabled or disabled by user.

          Especially the JMAP part I am curious about. I hope to toy with this every now and then, and then report back :)

          • rhabarba
            arrow-up
            2
            arrow-down
            1
            ·
            9 months ago
            link
            fedilink

            JMAP sounds interesting indeed, but as far as I understand, there is an underwhelming number of clients that speak it?

            • lemmyreader
              arrow-up
              2
              arrow-down
              0
              ·
              9 months ago
              link
              fedilink

              Ah, yes, you’re right, cheers for that, but I am interested to compare JMAP speed and options with IMAP. And to test Stalwart I would not mind using the first and the last three in that Clients list.

    • FQQDOPEnglish
      arrow-up
      2
      arrow-down
      1
      ·
      9 months ago
      link
      fedilink

      Of course. I want to have a webmail websever. It’s an interface for viewing and writing mails with the backend doing the mailserver connection.