Support Dovecot 2.4 on Ubuntu 26.04

This commit is contained in:
parkel committed 2026-11-21 02:00:40 +01:00
1 parent b53f6ba8d6
commit 4ae4809dc6
5 files changed
+94 -10

No files matched your search

+2 -2
View File
@@ -276,8 +276,8 @@ finishes. Use **Retry publishing** if the current revision failed.
## Provision local mailboxes from the panel
Set up [Postfix and Dovecot 2.3](development.md#apply-a-mailbox-manifest) on the
Ubuntu 24.04 panel host and enable the
Set up [Postfix and Dovecot](development.md#apply-a-mailbox-manifest) on the
Ubuntu 24.04 or 26.04 panel host and enable the
[mailbox provisioning socket](development.md#enable-local-mailbox-provisioning).
Install the dedicated worker that connects to that socket.
+21 -6
View File
@@ -316,11 +316,11 @@ coulobre-mail-node inspect coulobre-mailbox-1.json
### Apply a mailbox manifest
Use an Ubuntu 24.04 mail node with Postfix, Dovecot 2.3 and the `dovecot-imapd`
and `dovecot-lmtpd` packages. Install Coulobre in a root-owned virtual
environment on the node. Use a Postfix hostname outside the set of hosted
mail domains and keep those domains in Postfix's virtual mailbox address
class. See the [Postfix virtual domain guide](https://www.postfix.org/VIRTUAL_README.html).
Use Ubuntu 24.04 with Dovecot 2.3 or Ubuntu 26.04 with Dovecot 2.4. Install
Postfix, `dovecot-imapd`, and `dovecot-lmtpd`. Install Coulobre in a root-owned
virtual environment on the node. Use a Postfix hostname outside the set of
hosted mail domains and keep those domains in Postfix's virtual mailbox
address class. See the [Postfix virtual domain guide](https://www.postfix.org/VIRTUAL_README.html).
On a fresh mail node, create the virtual mail user and empty lookup files.
@@ -341,6 +341,8 @@ virtual_transport = lmtp:unix:private/dovecot-lmtp
smtpd_reject_unlisted_recipient = yes
```
#### Dovecot 2.3 on Ubuntu 24.04
Replace the stock `auth-system.conf.ext` include in Dovecot's `10-auth.conf`
with the following virtual user configuration. Configure Dovecot's TLS
certificate and keep encrypted client authentication enabled on a public
@@ -378,7 +380,20 @@ service lmtp {
}
```
Start Postfix and Dovecot with these settings and apply the manifest.
#### Dovecot 2.4 on Ubuntu 26.04
For a fresh, dedicated mail node, use the
[Dovecot 2.4 configuration example](../deploy/dovecot/coulobre-2.4.conf.example)
as `/etc/dovecot/dovecot.conf`. Set the certificate and key paths for the mail
hostname. Use the output of `id -u coulobre-vmail` for both UID settings.
For an existing mail node, follow the
[Dovecot upgrade guide](https://doc.dovecot.org/2.4.2/installation/upgrade/2.3-to-2.4.html)
to migrate its configuration and retain its Maildirs and Coulobre registry.
#### Install the mailbox
Start Postfix first to initialize its spool directory, then start Dovecot so
it can bind the LMTP socket. Apply the manifest once both services are running.
```sh
sudo /opt/coulobre/bin/coulobre-mail-node apply coulobre-mailbox-1.json