aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/dovecot.conf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@debian.org>2025-04-26 18:24:46 +0200
committerGuilhem Moulin <guilhem@debian.org>2025-04-26 18:24:46 +0200
commit822f251cd94468a2ab305f46078c9f3e38b68b5f (patch)
tree2ec291885cc3db4c1f15445557b0f57c223f6931 /benchmark/dovecot.conf
parent6efe479ce30432045a099c4624455f152fa19ba3 (diff)
parentd3bcc2e368e7399af664812cbd67df1dc827d58b (diff)
Merge tag 'v0.5.8' into debian/latest
Release version 0.5.8
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 {