An unofficial, read-only Hacker News reader.

Stalwart is now a drop-in replacement for Microsoft Exchange (opens external site)

719 points by shaunpud 5 days ago | stalw.art | 351 comments on HN

View full thread · View on Hacker News

Comment thread (8)

  1. The problem with things like stalwart, mox, maddy, etc is that they do everything in one piece. If you like the way that piece works, it’s okay. If you don’t, the ability to substitute and/or customize functionalities is limited to nonexistent.

    If you’re managing mail for more than a handful of inboxes, that is no good. Classic inbox handling evolved modularly (smtp, spamfilter, imap, webmail…) for a reason.

    Replies (3)
    1. semi agree... mail is the most unixy thing around anymore.
    2. Customization doesn't require having a separate components. Modularity also doesn't necessarily depend on having a builtin functionality, plugins could exist.

      > modularly ... for a reason

      but not necessarily the one reason you mentioned, maybe they simply got stuck with a worse design

      Replies (1)
      1. > IS limited to nonexistent

        All I know is that today, if I don’t like part of what opensmtpd is doing with my messages, I can write my own plug-in to change it. Meanwhile, some of these all-in-one packages (like mox) don’t even support milters. Maddy is mbox-or-bust. Need maildir instead? Too bad.

        Spam filtration alone is more art than science. Someone who thinks of that as just another checkbox to tick instead of a project unto itself clearly doesn’t know much about running a big boy mail server.

        Replies (1)
        1. > some of these all-in-one packages don’t even support milters.

          So others do support milters? How can you make a generalized criticism that's not generally applicable?

          > I can write my own plug-in to change it.

          Have you actually done it? How hard would it be compared to writing your own patch for the all-in-one?

          Replies (1)
          1. > So others do support milters?

            There are only a handful of active single-binary AIO servers at the moment. Mox & exchange don't do milters. Maddy only implements a subset of the protocol. Stalwart is the only one I know of with full support.

            > Have you actually done it?

            I can either a) play mother-may-i with the maintainers to implement a boutique mail flow that applies to less than 1% of their core users, and if they accept it, burden their project with yet another knob, or b) write a stdin/stdout milter script (using whatever language), to end up with something that can be used on all of the big boy open source MTAs (sendmail, postfix, opensmtp).

            Here is a complete milter script, in two printed pages of awk:

            https://github.com/jirutka/opensmtpd-filter-rewrite-from/blo...

            I have run commercial mail servers for 14 years. I would love it if this could be done competently in a single binary, but every AIO I have evaluated (all of the ones mentioned) was an amateurish disappointment. I would not trust important mail to any of them.

    3. I've run mailservers both using postfix+dovecot+friends on debian, simple-nixos-mailserver on nixos, mailcow and am currently using mox.

      - More options is good

      - Standards compliance is needed for compatibility

      - Many old software components are written in memory unsafe languages like C

      - Users like simple tools, unified software packages like mox and stalwart provide that

      - Software evolves and you can shape many projects by contributing

      Replies (1)
      1. I prefer modular time-tested components in C to amateur re-creations of ms exchange in go/rust. There is nothing wrong with C. We have valgrind. We have pledge/unveil. And if I want to be extra-paranoid, we have filc.