# Halon Delivery Orchestrator Version: 1.3-stable This is the documentation for Halon Delivery Orchestrator *halon-clusterd* service. The package consists of one service called *halon-clusterd* which can be used to coordinate clusters of smtpd nodes together. See also: * To configure *smtpd* to use this service, see [startup configuration clustering directives](/manual/config_startup.html#clustering-directives) * For writing cluster-aware policies, see [cluster-aware policies](/manual/queue_cluster.html#cluster-aware-policy) ## Table of contents * [Installation](#install) * [Prerequisites](#install:prerequisites) * [Distributions](#install:distributions) * [Ubuntu](#install:ubuntu) * [RHEL](#install:rhel) * [Startup](#install:startup) * [Docker & K8s](#install:docker-k8s) * [Upgrade](#upgrade) * [Configuration](#config) * [Listener directives](#config:listener-directives) * [Authentication directives](#config:authentication-directives) * [General directives](#config:general-directives) * [Environment directives](#config:environment-directives) * [Other environment](#config:other-environment) * [Changelog](#changelog) # Installation ## Prerequisites Make sure you have followed the [instructions](https://docs.halon.io/manual/install.html#installation) in our manual to add our package repository. ## Distributions ### Ubuntu To install the .deb package use the following commands. ```console # apt-get update # apt-get install halon-clusterd ``` ### RHEL To install the .rpm package use the following commands. ```console # yum install halon-clusterd ``` ## Startup When the initial [configuration](#config) is in place, the program can be started with: ```console # systemctl start halon-clusterd ``` ## Docker & K8s For instructions on how to build a container image of the program as well as deploying it on K8s (Kubernetes), see our [halon-docker](https://github.com/halon/halon-docker) GitHub repository. # Upgrade In order to upgrade the package, install the new package over the previous installed one (see the installation chapter). After the upgrade the service needs to be manually restarted. # Configuration *halon-clusterd* loads the non-reloadable configuration from `/etc/halon/clusterd.yaml`. Below are some of the most important settings that can be configured. ## Listener directives ### listener.port Which TCP port to listen on. The default is `2530`. ### listener.address IPv4 or IPv6 address to listen on. The default is to listen to all IPv4 and IPv6 addresses. ## Authentication directives ### pki.certificate The X.509 certificate and private key to use for transport security. The private key and certificate should have either a `path` or `data` property. ```yaml pki: certificate: data: |- -----BEGIN CERTIFICATE----- ... privatekey: data: |- -----BEGIN PRIVATE KEY----- ... ``` ### pki.privatekey The X.509 private key to use for transport security. The private key should have either a `path` or `data` property. ### pki.cacerts[] A list of X.509 CA certificates for client certificate authentication, either a `path` or `data` property. This feature will disable looking at the system-wide certificate store. ### pki.lookupdirs.paths[] A list of paths to lookup `openssl rehash`ed certificates and CRLs. ### pki.lookupdirs.crl If CRL checking should be done (searching in the lookupdirs). The default is `false`. ### pki.crls[] A list of X.509 Certificate revokelists (CRL) for client certificate authentication, either a `path` or `data` property. ### pki.clientcerts[] A list of X.509 certificates for client certificate authentication, either a `path` or `data` property. This feature is mutually exclusive with clientnames. ```yaml pki: clientcerts: - data: |- -----BEGIN CERTIFICATE----- ... ``` ### pki.clientnames[] The client certificates names that the server should trust. Supports wildcards eg. `.example.net`. This feature is mutually exclusive with clientcerts. ## General directives ### reservedtime The number of seconds to keep a released slot reserved for the host which requested it. If this value is too long, it may reduce the responsiveness in the cluster in case the requesting host don’t claim the slot. The default is *1* second. ## Environment directives The default startup configuration that came with the installation package contains reasonable defaults for your platform. Some settings should however be revised. ### Other environment Those settings should normally be left unchanged. The default startup configuration in */opt/halon/examples* that came with the installation package should contain correct parameters for your operating system or distribution. #### environment.privdrop.user The user to run the process as. #### environment.privdrop.group The group to run the process as. # Changelog ## 1.3.0 Released 2026-10-12 - **Imp** Added support for lookupdirs for cert and CRL ([`pki.lookupdirs.paths[]`](#config:confval-pki.lookupdirs.paths)) - **Imp** Improved TLS debug logging ## 1.2.0 Released 2026-07-30 - **Imp** Added support for client name verification ([`pki.clientnames[]`](#config:confval-pki.clientnames)) - **Imp** Added support for custom CAs ([`pki.cacerts[]`](#config:confval-pki.cacerts)) - **Imp** Added support for custom CRLs ([`pki.crls[]`](#config:confval-pki.crls)) ## 1.1.2 Released 2026-04-28 - **Pkg** Update OpenSSL to 3.5.6 ## 1.1.1 Released 2026-02-20 - **Bug** Fix issue where client certificates issued by a CA could not be verified ## 1.1 Released 2025-06-25 - **Dep** Renamed `listen` directive to `listener` (with compailibity) - **Pkg** Clean up of installation package dependencies - **Pkg** Upgraded pcre dependency to pcre2 ## 1.0 Released 2024-12-16 - **New** Initial release