upvote
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

reply
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.
reply
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

reply
> 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.

reply
> 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?

reply
> 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.

reply
semi agree... mail is the most unixy thing around anymore.
reply