Hi!
I'm using Dovecot 2.1.7 on Debian Wheezy 32-bit (package version is
1:2.1.7-7+deb7u1) with maildirs.
My problem is that the incremental indexing of maildirs with squat takes
a very long time... I don't know if it reindexes anything, but it seems
it iterates though all messages on each search query and reads them. It
works fast only on successive queries within several minutes, probably
because of the messages being in cache.
What do you think, is it a bug?
--
With best regards,
Vitaliy Filippov
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.7
auth_default_realm = yourcmc.ru
auth_mechanisms = plain digest-md5 apop cram-md5 login ntlm
auth_realms = yourcmc.ru
default_internal_user = mail
first_valid_gid = 8
first_valid_uid = 8
last_valid_gid = 8
last_valid_uid = 8
log_path = /var/log/dovecot.log
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_access_groups = mail
mail_location = maildir:~/Maildir
mail_plugins = quota 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 = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
fts = squat
quota = maildir:storage=40G
sieve = ~/.dovecot.sieve
sieve_before =
sieve_default = /home/mail/default.sieve
sieve_dir = ~/sieve
}
postmaster_address = [email protected]
protocols = imap pop3
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
vsz_limit = 512 M
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
ssl_cert = </etc/ssl/dovecot.crt
ssl_key = </etc/ssl/dovecot.key
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
verbose_proctitle = yes
protocol lda {
mail_plugins = quota sieve
}