# Turnkey Chatmail in Freedombox?

**URL:** <https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221>\
**Category:** Chatmail Relays\
**Created:** [August 12, 2024, 8:00pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221 "2024-08-12T20:00:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [August 12, 2024, 8:00pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/1 "2024-08-12T20:00:17Z")

</div>

[Freedombox](https://www.freedombox.org/) is a server which can be controlled through a GUI, no command-line needed. It contains [a click-to-install mail server](https://wiki.debian.org/FreedomBox/Features). Presumably a bit of config could add a click-to-install Chatmail server. Do those who’ve actually set up a Chatmail server think this would work out?

---

<div class="post-metadata">

**Author:** ![Alphizi](https://forum.delta.chat/user_avatar/forum.delta.chat/alphizi/32/2280_2.png) [@Alphizi](https://forum.delta.chat/u/Alphizi)\
**Post date:** [August 25, 2024, 10:43pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/2 "2024-08-25T22:43:38Z")

</div>

agree with this

---

<div class="post-metadata">

**Author:** ![WofWca](https://forum.delta.chat/user_avatar/forum.delta.chat/wofwca/32/1702_2.png) [@WofWca](https://forum.delta.chat/u/WofWca)\
**Post date:** [August 28, 2024, 10:49am UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/3 "2024-08-28T10:49:09Z")

</div>

It looks like the mail server that is already included ([https://wiki.debian.org/FreedomBox/Manual/Email](https://wiki.debian.org/FreedomBox/Manual/Email)) does support account creation. What are the benefits of [Chatmail](https://delta.chat/chatmail) in this case? Spam protection and speed?

---

<div class="post-metadata">

**Author:** ![WofWca](https://forum.delta.chat/user_avatar/forum.delta.chat/wofwca/32/1702_2.png) [@WofWca](https://forum.delta.chat/u/WofWca)\
**Post date:** [August 28, 2024, 10:57am UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/4 "2024-08-28T10:57:22Z")

</div>

BTW here’s [a list of software similar to Freedombox](https://alternativeto.net/software/freedombox/).

---

<div class="post-metadata">

**Author:** ![Simon](https://forum.delta.chat/user_avatar/forum.delta.chat/simon/32/287_2.png) [@Simon](https://forum.delta.chat/u/Simon)\
**Post date:** [August 29, 2024, 1:05am UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/5 "2024-08-29T01:05:06Z")

</div>

I’d personally say:

- speed (fork of dovecot that has the delay removed)
- push notifications on iOS (and on android if you can use FCM there but can’t keep the app in the background for IMAP IDLE)

For an invite-only setup, you wouldn’t need the restriction of only being able to send encrypted emails, unless you want to have that as a security feature.

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [December 24, 2024, 9:09pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/6 "2024-12-24T21:09:21Z")

</div>

I’d think encrypted-only open registration, and no such restriction on invited/approved accounts, would be ideal for most selfhosters.

Speed and notifications are are indeed attractions, not sure if it’d help with spam. I think Chatmail uses Nginx and Freedombox uses Apache, so this may be more complex than I thought.

**A tutorial on how to convert an existing mailserver into a chatmail server** would be very useful, assuming it’s not way easier to start over from scratch and migrate the data. But this is maybe a new topic.

---

<div class="post-metadata">

**Author:** ![s0ph0s](https://forum.delta.chat/user_avatar/forum.delta.chat/s0ph0s/32/2392_2.png) [@s0ph0s](https://forum.delta.chat/u/s0ph0s)\
**Post date:** [December 27, 2024, 5:29pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/7 "2024-12-27T17:29:51Z")

</div>

I’m not working on Freedombox, but I am currently trying to make an alternate chatmail server implementation based on Mox, an open-source email server written in Go. My goal is to make a Chatmail server that can be deployed and maintained by people who are comfortable with computers, but have no systems administration experience.

If you’d like to follow along or contribute, [here’s the repository for any tools I need to build to support this](https://github.com/s0ph0s-dog/gochatmail) and [here’s the issue open against Mox for working out the changes necessary to make it work well as a Chatmail server](https://github.com/mjl-/mox/issues/251).

---

<div class="post-metadata">

**Author:** ![Minim](https://forum.delta.chat/letter_avatar_proxy/v4/letter/m/ccd318/32.png) [@Minim](https://forum.delta.chat/u/Minim)\
**Post date:** [December 28, 2024, 4:30pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/8 "2024-12-28T16:30:47Z")

</div>

Thanks, s0ph0s! Actually, Mox looks better than Freedombox. For one, it says “You could combine mox with an existing webserver, but it requires a lot more configuration.” That sounds a bit ominous, and will probably keep me from playing with it, but at least it’s possible. A lot of preconf servers, including Freedombox, have the problem that you can’t run anything else on the server alongside them. And who wants the increased maintenance overhead and energy consumption of running multiple servers for multiple services? It negates the “quicker to install and maintain” advantage of preconf mailservers.

If there any chance of shoving some of these mods upstream? Giving Dovecot a native turn-off-delay setting, say, or giving Postfix an encryption filter? I assume the push notifications would have to be separate, on a basis of pure ignorance on my part.

---

<div class="post-metadata">

**Author:** ![Simon](https://forum.delta.chat/user_avatar/forum.delta.chat/simon/32/287_2.png) [@Simon](https://forum.delta.chat/u/Simon)\
**Post date:** [December 28, 2024, 5:20pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/9 "2024-12-28T17:20:04Z")

</div>

> [@Minim](#):
>
> I assume the push notifications would have to be separate

Would be nice to have something more flexible like letting client to define a web hook that gets called, so not only delta chat could receive notifications (let user specify other relays, would also open the door for unified push and the like). Similar to JMAP Push, but much simpler → only ping, not say which event occurred nor which folder was updated.

This would need a mechanism for checking/validating if the target web address for the web hook is actually a notification recipient. (so that you can’t abuse the notification function to start DOS attacks from mail servers).

---

<div class="post-metadata">

**Author:** ![s0ph0s](https://forum.delta.chat/user_avatar/forum.delta.chat/s0ph0s/32/2392_2.png) [@s0ph0s](https://forum.delta.chat/u/s0ph0s)\
**Post date:** [December 28, 2024, 7:45pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/10 "2024-12-28T19:45:24Z")

</div>

> [@Minim](#):
>
> For one, it says “You could combine mox with an existing webserver, but it requires a lot more configuration.” That sounds a bit ominous, and will probably keep me from playing with it, but at least it’s possible.

The “a lot more configuration” is that you need to pass certain web requests through your existing web server to Mox, so that it can answer requests from mail clients and other mail servers. As the ecosystem of tools supporting email have evolved, several things based on HTTP have become more-or-less mandatory to ensure secure mail server operation.

> [@Minim](#):
>
> A lot of preconf servers, including Freedombox, have the problem that you can’t run anything else on the server alongside them. And who wants the increased maintenance overhead and energy consumption of running multiple servers for multiple services? It negates the “quicker to install and maintain” advantage of preconf mailservers.

I’m not sure how much my project will be able to help with this, but maybe making it easier to containerize a Chatmail server will be useful? One of the output formats I’m expecting my tooling to produce is an x86 VM image that can just be started up to run a chatmail server. I think everything inside it will be a Go program, so putting it into a Docker image shouldn’t be too difficult either!

> [@Minim](#):
>
> If there any chance of shoving some of these mods upstream? Giving Dovecot a native turn-off-delay setting, say, or giving Postfix an encryption filter? I assume the push notifications would have to be separate, on a basis of pure ignorance on my part.

I’m working to put as much code as is sensible in upstream Mox, so that’s one thing. The push notification code will need to be part of upstream Mox by necessity—there’s no API for taking an action in response to an email arriving on the server. I can’t speak to plans to make upstream contributions to Dovecot or Postfix though, I’m not working on that part.

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [October 6, 2026, 3:20pm UTC](https://forum.delta.chat/t/turnkey-chatmail-in-freedombox/3221/11 "2026-10-06T15:20:30Z")

</div>


