- You're right that it looks "modern", which unfortunately means the "Community Edition" is full of landmines that will try to upsell you.
- It was clearly heavily developed by AI, both it and the docs. You're free to be OK with that, but the Claudeisms are too heavy handed for me to believe it's a labour of love, and mail has a reputation for being hard and security-sensitive.
- I found the configuration system unwieldy. I wanted to write a declarative config and be done with it, but it seems to very much push you towards going through the setup guide and then applying changes either through the GUI, CLI, or POSTing to an API endpoint. There's this page[1], but I honestly just didn't really get it. It doesn't seem geared towards the way I tend to configure software.
That said, I didn't like Postfix either. OpenSMTPD is great, however.
[0] https://news.ycombinator.com/item?id=50481126
[1] https://stalw.art/docs/configuration/declarative-deployments...
> I’m guessing you mean with AI?
Did my wording confuse you? Sorry :) Yes I did
Stalwart, IMIO, is garbage. There is no way I am deploying production mail services that require an AI to walk through a GUI/CLI/API to configure them.
Every time I get declarative config somewhat reliably setup, they change the config system again.
Also try looking at the database schema, that has to be the worst database scheme I've ever seen in my entire life.
Calling it support for SQL databases is heavily exaggerated, it's like it was designed by someone who never even heard of databases before.
And yet, the actual parsers and protocol implementations are relatively solid.
I still have hope that stalwart will someday get a proper config system and db backend. At least AI can't do any worse than what Stalwart has today.
You can set stalwart up so it does everything automatically: certs, dns with dkim, spf, dmarc, auto-discovery. You can get a fully working secure mail server with all of these in around 10 minutes.
RAM and CPU usage are much better. In a small VPS with the full postfix dovecot amavis spamassassin opendkim clamav etc stack, I regularly had some part of the stack OOM. Never happened with stalwart.
On my own box, a minimal old school email stack consumes very little resources, but I do not run ClamAV. Antivirus software is snake oil for Windows users, and I do not run any Windows PC. AV is probably the heaviest component of all.
You know this is true because people are spending tens of thousands of dollars to avoid it.
The only way something like that happens is through some DOS-attempt (particularly on amavis?) that isn't blocked in a config?
Source: I run my own mail server using Postfix + Dovecot + OpenDKIM. Getting DKIM signatures generated for egress mail without accidentally signing relayed emails or messages sent via mailing lists has a whole bunch of subtle issues if you have not done it previously. I do love how configurable and extensible Postfix is, but life would be so much easier if protocols like DKIM were first class features included in the MTA itself rather than being bolted on as an afterthought via milters. Email policy is complex, and OpenDKIM is lacking when used outside of a more complete email policy solution.
Bonus: DKIM remains fairly pointless given how major email providers like gmail fail to enforce it on all emails sent by their domains... Per DMARC policies:
$ host -t txt _dmarc.gmail.com _dmarc.gmail.com descriptive text "v=DMARC1; p=none; sp=quarantine; rua=mailto:mailauth-reports@google.com" $ host -t txt _dmarc.google.com _dmarc.google.com descriptive text "v=DMARC1; p=reject; rua=mailto:mailauth-reports@google.com"
Yeah, it's wonderful how email signing isn't enforced by one of the (if not the) largest email providers.
There is some truth to this, but I doubt that many people really roll out Postfix/Dovecot entirely from scratch. There are countless scripts and tutorials online. I set up my own stack following https://workaround.org/ispmail-bookworm/ years ago, comparing and contrasting the configuration proposed with other sources. I ended up making significant changes to this baseline after I understood how the different parts fit together (e.g., I use plain files instead of SQL).
Now with AI it's even easier, point it to an established set up script and request a minimal diff for things you want to change and you will have Postfix/Dovecot up within an hour.