NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

fts: change autoindex to occur on mailboxes of receiving 20 or more mails daily

746915cb
DerLinkman <[email protected]> 1 year, 6 months ago
data/conf/dovecot/conf.d/fts.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Diff

diff --git a/data/conf/dovecot/conf.d/fts.conf b/data/conf/dovecot/conf.d/fts.conf
index acc6f124..1ad5201f 100644
--- a/data/conf/dovecot/conf.d/fts.conf
+++ b/data/conf/dovecot/conf.d/fts.conf
@@ -3,6 +3,8 @@ plugin {
     fts_autoindex = yes
     fts_autoindex_exclude = \Junk
     fts_autoindex_exclude2 = \Trash
+    # Tweak this setting if you only want to ensure big and frequent folders are indexed, not all.
+    fts_autoindex_max_recent_msgs = 20
     fts = flatcurve
 
     # Maximum term length can be set via the 'maxlen' argument (maxlen is
@@ -26,7 +28,7 @@ plugin {
 
 service indexer-worker {
   # Max amount of simultaniously running indexer jobs.
-  process_limit=5
+  process_limit=1
 
   # Max amount of RAM used by EACH indexer process.
   vsz_limit=128 MB