Full-text search of dovecot

Source: Internet
Author: User
First, install the Lucene plug-in for dovecot. if FreeBSDport is used for installation, you only need to makeconfig, select LUCENE, and then portmasterdovecot. The configuration is still easy. I have already made the index and data separation, so there is no need for a single... first, install the Lucene plug-in for dovecot. if you use FreeBSD port for installation, you only need to make config, select LUCENE, and then portmaster dovecot. The configuration is also easy. I have already made the index and data separation, so no separate configuration is required, just in dovecot. added in conf: plugin {fts = lucene # Lucene-specific settings, good ones are: fts_lucene = whitespace_chars = @.} restart dovecot and run doveadm index-. Note:-A must be supported by userdb. In terms of daily maintenance, currently, dovecot is pre-configured to re-crawl the index during search, and no other processing will be performed when the mail is sent. My current solution is to run doveadm index-a inbox every 11 minutes to redo the INBOX index. In addition, FreeBSD's periodic is used to update all indexes (doveadm index-A '*') every day, and doveadm fts rescan-A every month (this is not necessary, it mainly prevents inconsistencies in the direct operation of Mailbox ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.