We need better client support for JMAP. Apple Mail, Thunderbird, Outlook (as if), and so on. I'm surprised some of the smaller ones like Canary or Spark don't implement it as a product differentiator.
JMAP is great for thin clients, like webmail, or clients which can’t store any state to disk. For regular desktop software, I’m not sure that it’s really an improvement over existing protocols.
JMAP for Calendars, Contacts and Files Now in Stalwart
201–204 of 204 posts
Re: JMAP for Calendars, Contacts and Files Now in Stalwart
#202Earlier quoted context omitted.
It's one tiny binary that does everything you could possibly need for hosting a mail server, including an admin UI, and you get a bunch of modern and convenient features for free. For example, it automatically handles Let's Encrypt certs for you. You get JMAP, CalDAV, WebDAV, CardDAV, IMAP4rev2, DKIM/SPF/DMARC, MTA-STS, DANE, spam filtering, SQL+blob+object storage backends, search, clustering, OpenTelemetry, etc all…
What you’re describing sounds like one huge downside to me, not and advantage. The only way to adopt Stalward is to drop everything else and use a single monolithic do-it-all? Messages are stored in a bespoke format and not easily accessible directly? It doesn’t sound like it’s made to be usable with other software. This isn’t an advantage in my book.
Suits my needs, but I can see why it wouldn't suit everyone's.
Re: JMAP for Calendars, Contacts and Files Now in Stalwart
#203Earlier quoted context omitted.
It's one tiny binary that does everything you could possibly need for hosting a mail server, including an admin UI, and you get a bunch of modern and convenient features for free. For example, it automatically handles Let's Encrypt certs for you. You get JMAP, CalDAV, WebDAV, CardDAV, IMAP4rev2, DKIM/SPF/DMARC, MTA-STS, DANE, spam filtering, SQL+blob+object storage backends, search, clustering, OpenTelemetry, etc all…
> Downsides: some features are gated behind an enterprise version I treat this as an insurance policy. Even in this thread people mentioned how Maddy, which is an alternative modern full stack email solution in a single binary, lacks development efforts. This is why we have this fantastic release for Stalwart - free shit. Also as of now enterprise is for $0.2 per account per month which is extremely cheap unless some…
Re: JMAP for Calendars, Contacts and Files Now in Stalwart
#204Earlier quoted context omitted.
JSON numbers are not JavaScript Numbers. While the grammar is specified (that’s what JSON is , after all), the runtime representation is unspecified. A conformant JSON parser can parse “1” as 1.0. They can be backed by doubles, or singles, or arbitrary precision.
That's exactly my point. If one needs an integer or a float, the parser converts it. I ask under what use case is there ever ambiguity?
Which parser? That’s the problem: if you’re using JSON as a data interchange format, you’ll need to carefully control both the serializers and deserializers, and whatever libraries you use, they will need to (at least internally) hold onto the number in a lossless way — I am not aware of any libraries that do this. They all parse the number as an f64 before any deserializers run. If your input JSON contains a u128, then you’ll have a loss of precision when your type is deserialized.
If you can set up (de)serialization to work the way you need it, then there’s no problem. But if you share your JSON serialized data with other parties, then you/they may be in for a bit of a surprise.
You might find it a worth while exercise to try parsing JSON containing an arbitrary unsigned 128 bit integer in your language of choice.