dovecot: add tmpfs_index chatmail.ini parameter for storing index files in /dev/shm

This commit is contained in:
missytake
2026-02-03 12:07:02 +01:00
parent dfcaf415b1
commit f7f2c9600d
4 changed files with 11 additions and 0 deletions

View File

@@ -68,7 +68,11 @@ userdb {
##
# Mailboxes are stored in the "mail" directory of the vmail user home.
{% if config.tmpfs_index %}
mail_location = maildir:{{ config.mailboxes_dir }}/%u:INDEX=/dev/shm/%u
{% else %}
mail_location = maildir:{{ config.mailboxes_dir }}/%u
{% endif %}
# index/cache files are not very useful for chatmail relay operations
# but it's not clear how to disable them completely.