# Decentralised tech on Recoil

*2021-09-19 — note*


[Nick Ludlam](https://nick.recoil.org) and I have self-hosted recoil.org since around 1996, typically for
email and web.  These days, there are a number of interesting software stacks
around decentralised communication that we deploy. This note keeps track of
them.


- **Email**  (active)
  * Currently Postfix and DKIM/SPIF relays
  * Till 2019, was OpenSMTPD and would like to return to it but waiting on
    filter support.
  * Till around 2016, was qmail but finally gave up due to difficulty of
    spam filtering.
  * Next step will be to try out the MirageOS email stack that dinosaure
    has been leading the development of.
- **Web** (active)
  * This website is an OCaml webserver running a custom multicore OCaml [webserver](https://github.com/avsm/eeww)
  * Next step will be to go solar powered with a custom DNS server.
- **DNS** (inactive)
  * MirageOS DNS server.
  * Currently offline due to a hosting issue so fell back to Gandi.
  * Hopefully can secondary with @hannesm and his MirageOS infrastructure.
- **Videos** (active)
  * Running a PeerTube instance on <https://crank.recoil.org>
  * Also deployed this for the OCaml community as \<watch.ocaml.org\>, so my
    personal recoil instance is "following" the OCaml one as well as having
    my own videos.
- **Chat** (active)
  * Running a Matrix Element. server with a HTTP srv for recoil.org
  * Using element.io clients to connect to it.
  * Lots of federation to other services happening from this via
    republished rooms, so its a fairly busy server.
  * Next step is to deploy some of the OCaml Matrix clients to control
    the notifications. Element doesnt have very good push support.
  * Decided not to bridge this to WhatsApp/Signal/etc as the maintenance
    cost is quite high and it requires unencrypted passwords.
  * Need to regularly sweep the Element database to keep the size down, as detailed in this [handy blog post](https://levans.fr/shrink-synapse-database.html).
- **Activity** (active)
  * Deplyed a Mastadon instance for distributed tweeting via
    ActivityPub, on https://amok.recoil.org/
- **Images** (inactive)
  * Tristan Henderson pointed me to pixelfed which seems worth a try for
    image sharing over ActivityPub. Not had a chance to use it yet.
- **Spam** (inactive)
  * Problem with the chat service is that I'm getting quite a lot of spam
    requests on Matrix. Am experimenting with a Tezos node to act as a
    DID introduction proxy with gas costs. Hopefully there's a way to
    be introduced due to some common service (or some evidence of PoW for the
    communication such as having read and quoted one of my papers or something)
    and have micropayment as a last-resort.
  * Also deployed SpamAssassin recoil-wide and custom bayes filters.

In general, our operating system of choice is OpenBSD (since 1998 or so) with
Alpine Linux for the more recent things that run on a cloud or haven't been
ported yet.
Synopsis: Recoil's decentralized tech stack includes email, web, and chat services.
Words: 458

## Related

- [Rewilding the Web: my workshop report from Edinburgh](https://anil.recoil.org/notes/rewilding-the-web-report) (note, 2026-05-30)
- [.plan-26-17: Unwedging kernels, dogfood deployments, and managing beef leakage](https://anil.recoil.org/notes/2026w17) (note, 2026-04-26)
- [.plan-26-14: Tracking AI screen time and escaping to pen and paper](https://anil.recoil.org/notes/2026w14) (note, 2026-04-05)
- [AoAH Day 17: OCaml JMAP to plaster my painful email papercuts](https://anil.recoil.org/notes/aoah-2025-17) (note, 2025-12-17)
- [Entering the Matrix with Hookshot](https://anil.recoil.org/notes/enter-the-matrix-hookshot) (note, 2025-02-08)

---
Canonical: https://anil.recoil.org/notes/decentralised-stack
Type: note
Tags: recoil, selfhosting, openbsd, opensource, security
