From 47554d02332b6d02c21a683c4eec3443e481f5f7 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 4 Dec 2024 10:29:18 +0200 Subject: [PATCH] guides/quick: Small cleanups for the example config --- docs/core/config/guides/quick.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/core/config/guides/quick.md b/docs/core/config/guides/quick.md index 60b6666d2..c884f4951 100644 --- a/docs/core/config/guides/quick.md +++ b/docs/core/config/guides/quick.md @@ -30,13 +30,21 @@ You need to create group `vmail` and user `vmail`. dovecot_config_version = 2.4.0 dovecot_storage_version = 2.4.0 +# Enable wanted protocols: +protocols { + imap = yes + lmtp = yes +} + mail_home = /srv/mail/%{user} mail_driver = sdbox -mail_path = ~/Mail +mail_path = ~/mail mail_uid = vmail mail_gid = vmail -## this is sometimes needed + +# By default first_valid_uid is 500. If your vmail user's UID is smaller, +# you need to modify this: #first_valid_uid = uid-number-of-vmail-user namespace inbox { @@ -44,12 +52,12 @@ namespace inbox { separator = / } -# Use system users: +# Authenticate as system users: passdb pam { } -ssl_cert_file = /path/to/cert.pem -ssl_key_file = /path/to/key.pem +ssl_cert_file = /etc/dovecot/ssl-cert.pem +ssl_key_file = /etc/dovecot/ssl-key.pem ``` :::