Hi,

I've setup FTS using lucene and it should be working, the lucene index is updated when mail arrives.

I also managed to reindex my INBOX: doveadm index -u foo -q INBOX

However, when I try to index an Archives folder: doveadm index -u foo -q Archives, the index-work crashed with this log message:

dovecot: indexer-worker(foo): Panic: file message-decoder.c: line 363 (message_decode_body): assertion failed: (ctx->translation_size <= sizeof(ctx->translation_buf)) dovecot: indexer: Error: Indexer worker disconnected, discarding 1 requests for foo dovecot: indexer-worker(foo): Fatal: master: service(indexer-worker): child 28730 killed with signal 6 (core dumps disabled)

The Archives folder has 22317 messages.

Please help.


dovecot --version
2.2.15


dovecot -n
# 2.2.15: /usr/local/etc/dovecot/dovecot.conf
# OS: FreeBSD 10.0-STABLE i386
auth_username_format = %Ln
first_valid_gid = 1000
first_valid_uid = 1000
login_trusted_networks = xxx.xxx.xxx.x/24
mail_location = maildir:~/Maildir
mail_plugins = " fts fts_lucene"
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 duplicate
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 {
  driver = pam
}
plugin {
  antispam_backend = spool2dir
  antispam_spam = Junk
antispam_spool2dir_notspam = /var/spool/dovecot-antispam/queue/ham-%%020lu-%u-%%05lu antispam_spool2dir_spam = /var/spool/dovecot-antispam/queue/spam-%%020lu-%u-%%05lu
  antispam_trash = Trash
  fts = lucene
  fts_autoindex = yes
  fts_lucene = whitespace_chars=@.
}
protocols = imap lmtp sieve
service imap-login {
  inet_listener imap {
    address = xxx.xxx.xxx.x
  }
  inet_listener imaps {
    address = xxx.xx.xx.xx
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service managesieve-login {
  inet_listener sieve {
    address = xxx.xx.xx.xx xxx.xxx.xx.x
    port = 4190
  }
}
ssl_cert = </var/ssl/crts/mail.crt
ssl_key = </var/ssl/keys/ssl-npp.key
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = " fts fts_lucene sieve"
}
protocol imap {
  mail_max_userip_connections = 20
  mail_plugins = " fts fts_lucene antispam"
}

Reply via email to