Hi,
I'm running Dovecot 2.1.12 on FreeBSD. I configured Dovecot to use the Squat
plugin to provide faster full-text searches. The output of 'dovecot -n' is
attached to this mail.
However, I just noticed that this plugin doesn't seem to kick in. A raw telnet
session seems to confirm this:
[..]
. SEARCH BODY abcdefg
* OK Searched 57% of the mailbox, ETA 0:06
* SEARCH 3425 6254 14710
. OK Search completed (17.262 secs).
. SEARCH BODY abcdefg
* OK Searched 63% of the mailbox, ETA 0:05
* SEARCH 3425 6254 14710
. OK Search completed (18.651 secs).
[..]
A SEARCH BODY command doesn't create the dovecot.index.search or
dovecot.index.search.uids files mentioned on
http://wiki2.dovecot.org/Plugins/FTS/Squat . Also, two subsequent SEARCH BODY
invocations don't seem to be any different as far as search time goes.
I checked the logs but couldn't see anything which is related, except:
Jan 8 21:36:10 imap2 dovecot: indexer-worker(frerich): Indexed 0 messages in
INBOX
Does anybody have some idea how to get more logging out of index-worker, or
whether there's a flaw in my configuration?
--
Frerich Raabe - [email protected]
www.froglogic.com - Multi-Platform GUI Testing
# 2.1.12: /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 9.0-RELEASE i386
auth_mechanisms = plain login
disable_plaintext_auth = no
first_valid_gid = 1000
first_valid_uid = 1000
lda_mailbox_autocreate = yes
mail_location = maildir:~/Maildir
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment mailbox date ihave
namespace {
inbox = yes
location =
prefix =
separator = /
type = private
}
namespace {
location =
maildir:/home/vmail/lists/Maildir:CONTROL=~/Maildir/lists:INDEX=~/Maildir/lists
prefix = Lists/
separator = /
subscriptions = no
type = public
}
namespace {
location = maildir:/home/vmail/lists/archive/Maildir
prefix = Lists/Archive/
separator = /
subscriptions = no
type = public
}
passdb {
args = session=yes dovecot
driver = pam
}
passdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf
driver = ldap
}
plugin {
acl = vfile
fts = squat
fts_squat = partial=4 full=4
sieve = ~/.dovecot.sieve
sieve_before = /usr/local/etc/dovecot/sieve/keep-broadcast-mail.sieve
sieve_dir = ~/Maildir/sieve
}
protocols = imap sieve
service auth {
user = root
}
service imap {
vsz_limit = 512 M
}
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
}
service managesieve {
vsz_limit = 512 M
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
args = username_format=%n /usr/local/etc/dovecot/dovecot-pseudo-users.passwd
driver = passwd-file
}
userdb {
args = /usr/local/etc/dovecot/dovecot-ldap.conf
driver = ldap
}
verbose_proctitle = yes
protocol imap {
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
mail_plugins = acl imap_acl fts fts_squat
}
protocol lda {
mail_plugins = sieve acl
postmaster_address = [email protected]
sendmail_path = /usr/sbin/sendmail
}