Skip to content

Commit a0e12bd

Browse files
sirainencmouse
authored andcommitted
guides/quick: Small cleanups for the example config
1 parent 49ed8a6 commit a0e12bd

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

docs/core/config/guides/quick.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,34 @@ 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+
# Enable wanted protocols:
34+
protocols {
35+
imap = yes
36+
lmtp = yes
37+
}
38+
3339
mail_home = /srv/mail/%{user}
3440
mail_driver = sdbox
35-
mail_path = ~/Mail
41+
mail_path = ~/mail
3642
3743
mail_uid = vmail
3844
mail_gid = vmail
39-
## this is sometimes needed
45+
46+
# By default first_valid_uid is 500. If your vmail user's UID is smaller,
47+
# you need to modify this:
4048
#first_valid_uid = uid-number-of-vmail-user
4149
4250
namespace inbox {
4351
inbox = yes
4452
separator = /
4553
}
4654
47-
# Use system users:
55+
# Authenticate as system users:
4856
passdb pam {
4957
}
5058
51-
ssl_cert_file = /path/to/cert.pem
52-
ssl_key_file = /path/to/key.pem
59+
ssl_cert_file = /etc/dovecot/ssl-cert.pem
60+
ssl_key_file = /etc/dovecot/ssl-key.pem
5361
```
5462
:::
5563

0 commit comments

Comments
 (0)