From 7bf2dfd62e169856aa4e13d7cc2234dffa550291 Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 12 Sep 2025 09:30:17 +0200 Subject: [PATCH] dovecot: keep mailbox index only in memory (#632) Co-authored-by: holger krekel --- CHANGELOG.md | 2 ++ cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65324fb6..13dc2a49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## untagged +- dovecot: keep mailbox index only in memory to avoid unnecessary disc usage + ([#632](https://github.com/chatmail/relay/pull/632)) ## 1.7.0 2025-09-11 diff --git a/cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 b/cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 index f6511be0..244a58e6 100644 --- a/cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 +++ b/cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2 @@ -68,7 +68,7 @@ userdb { ## # Mailboxes are stored in the "mail" directory of the vmail user home. -mail_location = maildir:{{ config.mailboxes_dir }}/%u +mail_location = maildir:{{ config.mailboxes_dir }}/%u:INDEX=MEMORY namespace inbox { inbox = yes