blob: 68cc40ee18efadfedae3c9328dea5a95d6e5197e (
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
56
57
58
|
dovecot_config_version = 2.4.0
dovecot_storage_version = 2.4.0
log_path = /dev/shm/mail.log
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 inbox {
inbox = yes
separator = /
}
# 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
default_login_user = nobody
service anvil {
chroot =
}
service imap-login {
chroot =
}
service stats {
chroot =
}
passdb passwd-file {
driver = passwd-file
default_password_scheme = plain
passwd_file_path = /dev/shm/dovecot/users
}
userdb passwd-file {
driver = passwd-file
passwd_file_path = /dev/shm/dovecot/users
}
protocols {
imap = yes
}
service imap-login {
inet_listener imap {
# disable
port = 0
}
inet_listener interimap {
port = 10143
}
inet_listener offlineimap {
port = 10144
}
}
|