Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 13 additions & 18 deletions docs/core/config/guides/quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,35 +26,30 @@ You need to create group `vmail` and user `vmail`.

::: code-group
```[dovecot.conf]
mail_home = /srv/mail/%{user | lower}
# Start new configs with the latest Dovecot version numbers here:
dovecot_config_version = 2.4.0
dovecot_storage_version = 2.4.0

mail_home = /srv/mail/%{user}
mail_driver = sdbox
mail_path = ~/Mail

mail_uid = vmail
mail_gid = vmail
## this is sometimes needed
#first_valid_uid = uid-of-vmail-user
#first_valid_uid = uid-number-of-vmail-user

# if you want to use system users
passdb pam {
driver = pam
namespace inbox {
inbox = yes
separator = /
}

userdb passwd {
driver = passwd
use_worker = yes
fields {
uid = vmail
gid = vmail
}
# Use system users:
passdb pam {
}

ssl=yes
ssl_cert_file = /path/to/cert.pem
ssl_key_file = /path/to/key.pem

namespace {
inbox = yes
separator = /
}
```
:::

Expand Down