Live data from Hacker News

Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

stalw.art

51–60 of 70 posts

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#52

Just tried to set it up on a fresh Ubuntu free VM on Oracle cloud and I can't seem to be able to even login after setup. Oh well, might look into it when I have more time. Looks promising though!

Hmm, interesting, it only binds on the IPv6 address. It does work but IPv4 does not seem to be working.

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#53
From the main project page, it mentions it has typical alias support: >Email aliases, mailing lists, subaddressing and catch-all addresses support.

Another feature that would be nice to have built-in is masked hide-my-email aliases for privacy like the cloaked email services from iCloud, FastMail, SimpleLogin, Cloudflare email routing, etc.[1]

For now, I use the typical aliases addresses in Dovecot but it doesn't hide the real email when replying. Also, creating new aliases in Dovecot-based email systems is very tedious and cumbersome because you have to go through the cPanel interface to create them. (Some suggest using the "catchall" feature to avoid the need to manually create new aliases but that advice is not workable when spam robots constantly send emails to new random addresses in your domain.) The cPanel/Dovecot aliases also don't have any metadata so you can add details on what the alias is for and when it was created.

[1] masked email services examples

https://support.apple.com/en-us/105078

https://www.fastmail.help/hc/en-us/articles/4406536368911-Ma...

https://simplelogin.io/

https://blog.cloudflare.com/introducing-email-routing

EDIT ADD to reply : >On Stalwart you can implement masked e-mail using address rewriting

Stalwart's feature of "Sieve scripts" for custom rewriting/filtering is interesting but it's not UI friendly for endusers to create new masked email addresses (and also later delete them). There's also no user-defined metadata. It's also not clear if Sieve scripts can run on outgoing mail rather than just incoming mail. Example of how UI workflow in Apple's Hide My Email is simpler than Stalwart Sieve scripting: https://www.youtube.com/watch?v=oJRrkJy0vUk&t=34s

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#54
post #16
post #10

Earlier quoted context omitted.

Roll your own with Amazon SES. Bang up a little script and call the CLI. for recipient in "${recipients[@]}"; do aws sesv2 send-email \ --from-email-address "$sender" \ --destination "ToAddresses=$recipient" \ --content "Simple={Subject={Data='$subject',Charset='UTF-8'},Body={Text={Data='$body',Charset='UTF-8'}}}" \ --region "$region" done I got that script from their website. Should be easy enough to knock something…

In my experience, it’s extremely difficult to get out of the SES sandbox, for what I presume is if your account/org is under a certain amount of spend with them. While basically free under a certain amount of usage, the gatekeeping there does make the idea of self-hosting your email free/cheaply sort of a nonstarter for indie devs. For context, getting out of the sandbox at every org I worked at was essentially a sin…

I got approved instantly for personal mail for my domains. even though they charge for smtp they don't actually take payment for very small amounts so it has been completely free for over a year.

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#55

It's interesting how there is now * Maddy: https://github.com/foxcpp/maddy * Mox: https://github.com/mjl-/mox * and Stalwart which all see to aim for more or less the same niche. I wonder if we'll see two of those merge eventually.

Maddy and Mox are written in Goo, but Stalwart in Rust. So perhaps the first two, but unlikely the last.

They're written in Go, but I think I like the concept of a language called Goo. Maybe they should've named it that instead.

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#56

Earlier quoted context omitted.

Maddy and Mox are written in Goo, but Stalwart in Rust. So perhaps the first two, but unlikely the last.

They're written in Go, but I think I like the concept of a language called Goo. Maybe they should've named it that instead.

Goo is a nice name for object-oriented Go.

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#57

How does the directory management ui work with an external directory, say LDAP? I've been looking at both Stalwart and Kanidm, I suspect they would be a good pairing. https://kanidm.com/

I'd be very interested to know as well. Although the last time I attempted to run kanidm in a containerized fashion it left a lot to be desired.

The software is (perhaps expectedly) not really built to support semi-ephemeral lifetimes, so it took quite a few hacks to get it running in Kubernetes the last time I tried.

As I recall, the primary issue I had was with exposing the certman-provided Let's Encrypt certificates to the kanidm process inside the container in a reasonable fashion. I don't think I found an elegant way of signalling to the kanidm process that the certificates had been renewed and should be reloaded.

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#58
post #53

From the main project page, it mentions it has typical alias support: >Email aliases, mailing lists, subaddressing and catch-all addresses support. Another feature that would be nice to have built-in is masked hide-my-email aliases for privacy like the cloaked email services from iCloud, FastMail, SimpleLogin, Cloudflare email routing, etc.[1] For now, I use the typical aliases addresses in Dovecot but it doesn't hid…

On Stalwart you can implement masked e-mail using address rewriting:

https://stalw.art/docs/smtp/rewrite/address

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#59
What does the update process look like?

After I install this via the install script on, say, Debian. An update comes along. What do I do? Run the install script again?

Or does the web UI have a process for initiating an update?

I couldn't find any information on this on the website: I consider this essential information.

[Edit] I found it: https://stalw.art/docs/management/webadmin/usage

Re: Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui

#60
post #59

What does the update process look like? After I install this via the install script on, say, Debian. An update comes along. What do I do? Run the install script again? Or does the web UI have a process for initiating an update? I couldn't find any information on this on the website: I consider this essential information. [Edit] I found it: https://stalw.art/docs/management/webadmin/usage

> With every subsequent restart of Stalwart, the server fetches the Webadmin binary from the blob store, extracting it into a temporary directory. This process guarantees that the Webadmin is always available and updated

That's a little too efficient for my taste.

Post reply on HN