[Dovecot] question about fts_squat

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Sat Jun 16 13:57:01 EEST 2012


> When i telnet to imap server and execute by hand
> 1 login user password
> select foldername
> search body "someword"

sorry it was 2 and 3 just like 1 at login.

>
> it works fine, and at blazing speed except first run (indexing).
> i already indexed everything by doveadm index offline to prevent server 
> overload if multiple users (after i tell them) will try fulltext search.
>
> All great BUT it doesn't work in thunderbird. Just gives zero results.
>
> i used tcpdump to check how thunderbird executes it and it uses
>
> search undeleted body "someword"
>
> tried manually and it DOES NOT WORK. always give empty results.
>
> even search all body "someword" doesn't work.
>
> while
>
> search body "someword"
>
>
> always work very well.
>
> what's wrong?
>
> # 2.1.7: /usr/local/etc/dovecot/dovecot.conf
> # OS: FreeBSD 8.3-STABLE amd64 disable_plaintext_auth = no
> listen = *
> mail_location = maildir:~/Maildir
> mail_plugins = fts fts_squat
> namespace inbox {
>  inbox = yes
>  location =
>  mailbox Drafts {
>    special_use = \Drafts
>  }
>  mailbox Junk {
>    special_use = \Junk
>  }
>  mailbox Sent {
>    special_use = \Sent
>  }
>  mailbox "Sent Messages" {
>    special_use = \Sent
>  }
>  mailbox Trash {
>    special_use = \Trash
>  }
>  prefix = }
> passdb {
>  args = /usr/local/etc/dovecot/deny-users
>  deny = yes
>  driver = passwd-file
> }
> passdb {
>  driver = pam
> }
> plugin {
>  fts = squat
>  fts_squat = partial=4 full=10
> }
> protocols = imap
> ssl_cert = </etc/ssl/certs/dovecot.pem
> ssl_key = </etc/ssl/private/dovecot.pem
> userdb {
>  driver = passwd
> }
> protocol imap {
>  mail_plugins = fts fts_squat
> }
>
>



More information about the dovecot mailing list