aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/dovecot.conf
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2019-11-19 20:26:41 +0100
committerGuilhem Moulin <guilhem@fripost.org>2019-11-19 20:26:41 +0100
commit150c6cb82be94fc9abb0ecaff4615a2e2d6fdf68 (patch)
treec4cd0d284e631ab632b548ffb58a349372856812 /benchmark/dovecot.conf
parent3180560255e1d5821ea03570f54aa39e85608d5e (diff)
parent13337de269b207136e2462c3f1f7fbd842522a7c (diff)
Merge branch 'master' into debian
Diffstat (limited to 'benchmark/dovecot.conf')
-rw-r--r--benchmark/dovecot.conf55
1 files changed, 55 insertions, 0 deletions
diff --git a/benchmark/dovecot.conf b/benchmark/dovecot.conf
new file mode 100644
index 0000000..55301d9
--- /dev/null
+++ b/benchmark/dovecot.conf
@@ -0,0 +1,55 @@
+log_path = /dev/shm/mail.log
+mail_home = /dev/shm/vmail/%u
+mail_location = mdbox:~/mail
+ssl = no
+
+listen = 127.0.0.1
+namespace {
+ inbox = yes
+ separator = /
+}
+
+# https://wiki.dovecot.org/HowTo/Rootless
+base_dir = /dev/shm/dovecot/run
+default_internal_user = nobody
+default_internal_group = nogroup
+default_login_user = nobody
+
+service anvil {
+ chroot =
+}
+service imap-login {
+ chroot =
+}
+service stats {
+ chroot =
+}
+
+passdb {
+ args = scheme=PLAIN username_format=%u /dev/shm/dovecot/users
+ driver = passwd-file
+}
+userdb {
+ args = username_format=%u /dev/shm/dovecot/users
+ driver = passwd-file
+}
+
+protocols = imap
+
+mail_plugins = zlib
+protocol imap {
+ mail_plugins = imap_zlib
+}
+
+service imap-login {
+ inet_listener imap {
+ # disable
+ port = 0
+ }
+ inet_listener interimap {
+ port = 10143
+ }
+ inet_listener offlineimap {
+ port = 10144
+ }
+}