[Dovecot] question about fts_squat

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon Jun 18 20:21:48 EEST 2012

i repost my question as it probably wasn't received properly - i did it 
just after subscribing possibly too early. thanks for answers
just installed dovecot with fts_squat
config attached after message.

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

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.


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