Skip to content

Commit 6d06cf3

Browse files
committed
guides/quick: Small cleanups for the example config
1 parent 6b5ecaf commit 6d06cf3

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

docs/core/config/guides/quick.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,33 @@ You need to create group `vmail` and user `vmail`.
3030
dovecot_config_version = 2.4.0
3131
dovecot_storage_version = 2.4.0
3232
33+
protocols {
34+
imap = yes
35+
lmtp = yes
36+
}
37+
3338
mail_home = /srv/mail/%{user}
3439
mail_driver = sdbox
35-
mail_path = ~/Mail
40+
mail_path = ~/mail
3641
3742
mail_uid = vmail
3843
mail_gid = vmail
39-
## this is sometimes needed
44+
45+
# By default first_valid_uid is 500. If your vmail user's UID is smaller,
46+
# you need to modify this:
4047
#first_valid_uid = uid-number-of-vmail-user
4148
4249
namespace inbox {
4350
inbox = yes
4451
separator = /
4552
}
4653
47-
# Use system users:
54+
# Authenticate as system users:
4855
passdb pam {
4956
}
5057
51-
ssl_cert_file = /path/to/cert.pem
52-
ssl_key_file = /path/to/key.pem
58+
ssl_cert_file = /etc/dovecot/ssl-cert.pem
59+
ssl_key_file = /etc/dovecot/ssl-key.pem
5360
```
5461
:::
5562

0 commit comments

Comments
 (0)