Index | Thread | Search

From:
"Hukadan" <me@hukadan.org>
Subject:
Re: [update] stalwart-mail 0.10.3.
To:
"Landry Breuil" <landry@openbsd.org>
Cc:
<ports@openbsd.org>
Date:
Wed, 23 Oct 2024 21:02:44 +0200

Download raw body.

Thread
On Wed Oct 23, 2024 at 9:49 AM CEST, Landry Breuil wrote:
> Le Tue, Oct 22, 2024 at 09:10:40PM +0200, Hukadan a écrit :
> > On Mon Oct 7, 2024 at 7:29 PM CEST, Landry Breuil wrote:
> > > hi,
> > >
> > > as usual we're lagging behind.. quite some releases, and once again a
> > > 'breaking' change requiring reading
> > > https://github.com/stalwartlabs/mail-server/blob/v0.10.0/UPGRADING.md
> > >
> > >
> > > see https://github.com/stalwartlabs/mail-server/releases/tag/v0.10.0
> > > and https://github.com/stalwartlabs/mail-server/releases/tag/v0.10.1
> > > +   https://github.com/stalwartlabs/mail-server/releases/tag/v0.10.2
> > > &   https://github.com/stalwartlabs/mail-server/releases/tag/v0.10.3
> > >
> > > feedback welcome.
> > >
> > > Landry
> > 
> > Hi,
> > 
> > At last I had the time to give it a try. Thank you for porting this to
> > OpenBSD. It was less of a pain to configure than I expected.
> > 
> > It works like a charm on -current but the web UI is broken on -stable
> > because of this bug:
> > https://github.com/stalwartlabs/mail-server/discussions/859
> > 
> > I thinks there is some WIP to make sure stalwart-mail only downloads
> > web UI or spam filters that are compatible with the version used.
>
> since the port was upgraded to 0.10.4, it should be fine no ?

Yes, it works on -current but not on -stable which as the version 0.9.4.

>
> > As a side note, I think it would be worth mentioning in the README that
> > the web UI uses WASM. I thought I did something wrong when I first saw
> > a white screen.
>
> diffs welcome :) i don't know what you mean by 'uses WASM' & 'saw a
> white screen'. Isnt wasm working by default in browsers nowadays ?
>

Fair enough. See diff attached for the proposed changes.

> Landry

diff --git mail/stalwart/pkg/README mail/stalwart/pkg/README
index f6dfd11f944..b0996d3f7a6 100644
--- mail/stalwart/pkg/README
+++ mail/stalwart/pkg/README
@@ -42,7 +42,9 @@ the initial startup of the server will:
 - rewrite its own config file
 
 From that point, you should be able to connect as admin/changeme on the https
-interface to configure the daemon/services.
+interface to configure the daemon/services. The web admin interface uses 
+WebAssembly which is switched off by default on Chromium. You need to enable
+it by setting ENABLE_WASM=1 if you want to use this interface.
 
 Using stalwart-cli to manage the server
 =======================================