Skip to content

Commit 863ded6

Browse files
committed
try to limit index cache max size
1 parent d75321b commit 863ded6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cmdeploy/src/cmdeploy/dovecot/dovecot.conf.j2

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ userdb {
7070
# Mailboxes are stored in the "mail" directory of the vmail user home.
7171
mail_location = maildir:{{ config.mailboxes_dir }}/%u
7272

73+
# index/cache files are not very useful for chatmail relay operations
74+
# but it's not clear how to disable them completely.
75+
# According to https://doc.dovecot.org/2.3/settings/advanced/#core_setting-mail_cache_max_size
76+
# if the cache file becomes larger than the specified size, it is truncated by dovecot
77+
mail_cache_max_size = 500K
78+
7379
namespace inbox {
7480
inbox = yes
7581

0 commit comments

Comments
 (0)