reformatting
This commit is contained in:
parent
24cc461fb7
commit
2a77d06113
1 changed files with 10 additions and 9 deletions
|
|
@ -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:
|
The _user_query_ gets several pieces of information from the database. Let’s look at it one by one:
|
||||||
|
|
||||||
- email AS user
|
- 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
|
It gets the the _email_ field from the database which corresponds to the user name. Dovecot expects it in the _user_
|
||||||
so we set an alias to _“user”._
|
field so we set an alias to _“user”._
|
||||||
- userdb_quota_rule
|
- 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)
|
This is the user’s quota in bytes. Think of it as the maximum possible space on disk that the user can occupy. As
|
||||||
Dovecot expects the quota in a special format like “\*:bytes=10000” if the user should not be able to store more than 10,000
|
[documented](https://doc.dovecot.org/configuration_manual/quota/#per-user-quota) Dovecot expects the quota in a
|
||||||
bytes. That’s why we begin the string with ‘\*:bytes=’.
|
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
|
- userdb_home
|
||||||
This leads to the directory where all emails and various control files for this user are located. The placeholder ‘%d’
|
This leads to the directory where all emails and various control files for this user are located. The placeholder
|
||||||
replaces the domain and ‘%n’ the user part. So for John that makes it “/var/vmail/example.org/john”.
|
‘%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
|
- 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
|
Those are the user ID and group ID of \_vmail* user – 5000 for both. Dovecot uses it to set the permissions of files
|
||||||
creates. As all users share the same system user “vmail” this is just a static number.s
|
it creates. As all users share the same system user “vmail” this is just a static number.s
|
||||||
|
|
||||||
## Fix permissions
|
## Fix permissions
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue