]> git.ekhem.eu.org Git - server.git/commit
[dovecot] Enable virtual mailboxes.
authorJakub Czajka <jakub@ekhem.eu.org>
Sat, 29 Oct 2022 22:22:28 +0000 (00:22 +0200)
committerJakub Czajka <jakub@ekhem.eu.org>
Sun, 3 Dec 2023 17:00:57 +0000 (18:00 +0100)
commitda9de6a2905598f5eab28a8b410c5133979c39e1
tree13b89ebcaf4fcabb6cee272cc5cf3c45284b33e3
parent51c90e50fc4469776984481831d058860920d02c
[dovecot] Enable virtual mailboxes.

Virtual mailboxes are mailboxes created for new users automatically
based on their credentials. Userdb lookups aren't necessary.
Directories for virtual mailboxes are owned by a single system
user (`vmail`). This commit enables virtual mailboxes in `dovecot`:
- Static userdb instead of SQL query.
- Username column as the primary key of the address book. It has to be
unique to prevent virtual mailboxes overlapping.
databases/mail/mail_db_create.sql
dovecot/10-mail.conf
dovecot/README
dovecot/auth-sql.conf.ext
dovecot/dovecot-sql.conf.ext