fts.conf 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # mailcow FTS Flatcurve Settings, change them as you like.
  2. plugin {
  3. fts_autoindex = yes
  4. fts_autoindex_exclude = \Junk
  5. fts_autoindex_exclude2 = \Trash
  6. # Tweak this setting if you only want to ensure big and frequent folders are indexed, not all.
  7. fts_autoindex_max_recent_msgs = 20
  8. fts = flatcurve
  9. # Maximum term length can be set via the 'maxlen' argument (maxlen is
  10. # specified in bytes, not number of UTF-8 characters)
  11. fts_tokenizer_email_address = maxlen=100
  12. fts_tokenizer_generic = algorithm=simple maxlen=30
  13. # These are not flatcurve settings, but required for Dovecot FTS. See
  14. # Dovecot FTS Configuration link above for further information.
  15. fts_languages = en es de
  16. fts_tokenizers = generic email-address
  17. # OPTIONAL: Recommended default FTS core configuration
  18. fts_filters = normalizer-icu snowball stopwords
  19. fts_filters_en = lowercase snowball english-possessive stopwords
  20. fts_index_timeout = 300s
  21. }
  22. ### THIS PART WILL BE CHANGED BY MODIFYING mailcow.conf AUTOMATICALLY DURING RUNTIME! ###
  23. service indexer-worker {
  24. # Max amount of simultaniously running indexer jobs.
  25. process_limit=1
  26. # Max amount of RAM used by EACH indexer process.
  27. vsz_limit=128 MB
  28. }
  29. ### THIS PART WILL BE CHANGED BY MODIFYING mailcow.conf AUTOMATICALLY DURING RUNTIME! ###