aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/dovecot.conf
blob: 55301d9fa555ae33ffa515a31cfa5ec788d5228b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
    }
}