File tree Expand file tree Collapse file tree 1 file changed +13
-18
lines changed
Expand file tree Collapse file tree 1 file changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -26,35 +26,30 @@ You need to create group `vmail` and user `vmail`.
2626
2727::: code-group
2828``` [dovecot.conf]
29- mail_home = /srv/mail/%{user | lower}
29+ # Start new configs with the latest Dovecot version numbers here:
30+ dovecot_config_version = 2.4.0
31+ dovecot_storage_version = 2.4.0
32+
33+ mail_home = /srv/mail/%{user}
3034mail_driver = sdbox
3135mail_path = ~/Mail
3236
37+ mail_uid = vmail
38+ mail_gid = vmail
3339## this is sometimes needed
34- #first_valid_uid = uid-of-vmail-user
40+ #first_valid_uid = uid-number- of-vmail-user
3541
36- # if you want to use system users
37- passdb pam {
38- driver = pam
42+ namespace inbox {
43+ inbox = yes
44+ separator = /
3945}
4046
41- userdb passwd {
42- driver = passwd
43- use_worker = yes
44- fields {
45- uid = vmail
46- gid = vmail
47- }
47+ # Use system users:
48+ passdb pam {
4849}
4950
50- ssl=yes
5151ssl_cert_file = /path/to/cert.pem
5252ssl_key_file = /path/to/key.pem
53-
54- namespace {
55- inbox = yes
56- separator = /
57- }
5853```
5954:::
6055
You can’t perform that action at this time.
0 commit comments