aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/dovecot.conf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@debian.org>2025-04-25 17:59:57 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-04-26 18:03:03 +0200
commit66aeda7f653cfb72731fe7ff2925d7291158500f (patch)
treec00ab59def64caace0cbe7a3c747f18f71f6649b /benchmark/dovecot.conf
parent8f11b2625b98831a591a73c8928d62c1df11aadb (diff)
Port tests and documentation to Dovecot 2.4.
See https://doc.dovecot.org/main/installation/upgrade/2.3-to-2.4.html .
Diffstat (limited to 'benchmark/dovecot.conf')
-rw-r--r--benchmark/dovecot.conf29
1 files changed, 16 insertions, 13 deletions
diff --git a/benchmark/dovecot.conf b/benchmark/dovecot.conf
index 55301d9..68cc40e 100644
--- a/benchmark/dovecot.conf
+++ b/benchmark/dovecot.conf
@@ -1,15 +1,20 @@
+dovecot_config_version = 2.4.0
+dovecot_storage_version = 2.4.0
+
log_path = /dev/shm/mail.log
-mail_home = /dev/shm/vmail/%u
-mail_location = mdbox:~/mail
+mail_home = /dev/shm/vmail/%{user | username | lower}
+mail_driver = mdbox
+mail_path = ~/mail
+mailbox_list_index = yes
ssl = no
listen = 127.0.0.1
-namespace {
+namespace inbox {
inbox = yes
separator = /
}
-# https://wiki.dovecot.org/HowTo/Rootless
+# https://doc.dovecot.org/latest/core/config/rootless.html#rootless-installation
base_dir = /dev/shm/dovecot/run
default_internal_user = nobody
default_internal_group = nogroup
@@ -25,20 +30,18 @@ service stats {
chroot =
}
-passdb {
- args = scheme=PLAIN username_format=%u /dev/shm/dovecot/users
+passdb passwd-file {
driver = passwd-file
+ default_password_scheme = plain
+ passwd_file_path = /dev/shm/dovecot/users
}
-userdb {
- args = username_format=%u /dev/shm/dovecot/users
+userdb passwd-file {
driver = passwd-file
+ passwd_file_path = /dev/shm/dovecot/users
}
-protocols = imap
-
-mail_plugins = zlib
-protocol imap {
- mail_plugins = imap_zlib
+protocols {
+ imap = yes
}
service imap-login {