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. 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 }
> 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 > } > >
On 16.6.2012, at 13.55, Wojciech Puchar wrote:> even search all body "someword" doesn't work. > > while > > search body "someword" > > always work very well. > > what's wrong?Fixed: http://hg.dovecot.org/dovecot-2.1/rev/4ce1f9649592 Anyway, fts-lucene backend works better than fts-squat.
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. 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 }
Possibly Parallel Threads
- Dovecot frequently full-text reindexes the whole maildir
- Dovecot crashing when attempting to search in virtual folder with fts_squat activated
- Dovecot crashing when attempting to search in virtual folder with fts_squat activated
- Dovecot crashing when attempting to search in virtual folder with fts_squat activated
- Dovecot 2.1rc1 + 2.0.16 woes regarding fts_squat