From 2a77d06113d2608c069d60e1a938b201f7d8e34d Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Sat, 23 Aug 2025 12:37:53 +0200 Subject: [PATCH] reformatting --- .../120-setting-up-dovecot.mdx | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/content/docs/ispmail-bookworm/120-setting-up-dovecot.mdx b/src/content/docs/ispmail-bookworm/120-setting-up-dovecot.mdx index 1d58e49..a1fd9c7 100644 --- a/src/content/docs/ispmail-bookworm/120-setting-up-dovecot.mdx +++ b/src/content/docs/ispmail-bookworm/120-setting-up-dovecot.mdx @@ -223,18 +223,19 @@ What these lines mean: The _user_query_ gets several pieces of information from the database. Let’s look at it one by one: - email AS user - It gets the the _email_ field from the database which corresponds to the user name. Dovecot expects it in the _user_ field - so we set an alias to _“user”._ + It gets the the _email_ field from the database which corresponds to the user name. Dovecot expects it in the _user_ + field so we set an alias to _“user”._ - userdb_quota_rule - This is the user’s quota in bytes. Think of it as the maximum possible space on disk that the user can occupy. As [documented](https://doc.dovecot.org/configuration_manual/quota/#per-user-quota) - Dovecot expects the quota in a special format like “\*:bytes=10000” if the user should not be able to store more than 10,000 - bytes. That’s why we begin the string with ‘\*:bytes=’. + This is the user’s quota in bytes. Think of it as the maximum possible space on disk that the user can occupy. As + [documented](https://doc.dovecot.org/configuration_manual/quota/#per-user-quota) Dovecot expects the quota in a + special format like “\*:bytes=10000” if the user should not be able to store more than 10,000 bytes. That’s why we + begin the string with ‘\*:bytes=’. - userdb_home - This leads to the directory where all emails and various control files for this user are located. The placeholder ‘%d’ - replaces the domain and ‘%n’ the user part. So for John that makes it “/var/vmail/example.org/john”. + This leads to the directory where all emails and various control files for this user are located. The placeholder + ‘%d’ replaces the domain and ‘%n’ the user part. So for John that makes it “/var/vmail/example.org/john”. - userdb*uid and userdb_gid - Those are the user ID and group ID of \_vmail* user – 5000 for both. Dovecot uses it to set the permissions of files it - creates. As all users share the same system user “vmail” this is just a static number.s + Those are the user ID and group ID of \_vmail* user – 5000 for both. Dovecot uses it to set the permissions of files + it creates. As all users share the same system user “vmail” this is just a static number.s ## Fix permissions