mirror of
https://github.com/chatmail/relay.git
synced 2026-05-17 10:38:57 +00:00
dovecot: add tmpfs_index chatmail.ini parameter for storing index files in /dev/shm
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user