El 26/9/24 a les 1:39, Nels Lindquist ha escrit:
I presume you have conversations.db enabled? It's required for xapian to
work. Use twoskip for the conversations db format.
I found that the hard way (squatter complained about it), but shouldn't
it be mentioned in
https://www.cyrusimap.org/3.6/imap/developer/install-xapian.html (or
whatever the current page is, btw, the search on cyrusimap.org doesn't
appear to be working).
You could try rebuilding the conversations databases with
"ctl_conversationsdb -v -b -r".
ditto.
Anyway, I'm trying xapian on a test server with debian bullseye, using
cyrus-imapd from their repository (3.6.1-4+deb12u3) and, after
constructing the index with squatter (again, I think that should be
mentioned in the xapian page) and adding the option
"search_fuzzy_always:1" to imapd.conf (another detail not mentioned in
the above page), every search returned no results, probably because of
the missing conversations db.
I'm now trying the ctl_conversationsdb command but:
1) in spite of using -v (and -v -v) it doesn't tell me anything
2) it segfaulted
3) I see that the (incomplete?) conversation db for my 9.8GB mailbox is
4.1GB, is that normal?
root@vmail:~# ls -lh /var/lib/cyrus/user/l/luca.conversations
-rw------- 1 cyrus mail 4.1G Sep 26 09:06
/var/lib/cyrus/user/l/luca.conversations
root@vmail:~# du -sh /var/spool/cyrus/mail/user/luca/
9.8G /var/spool/cyrus/mail/user/luca/
4) if I then try "ctl_conversationsdb -d luca" I see "Failed to open
conversations database /var/lib/cyrus/user/l/luca.conversations: System
I/O error" and in the journal
DBERROR: DUMMY level != maxlevel:
filename=</var/lib/cyrus/user/l/luca.conversations> level=<30>
maxlevel=<20> syserror=<No such file or directory> func=<read_header>
skiplist: closed while still locked
DBERROR: DUMMY level != maxlevel:
filename=</var/lib/cyrus/user/l/luca.conversations> level=<30>
maxlevel=<20> syserror=<No such file or directory> func=<read_header>
skiplist: closed while still locked
currently I'm running ctl_conversationsdb for each user, hoping that it
doesn't segfault.
Bye
--
Luca Olivetti
Wetron Automation Technology https://wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tb146f45ff23d5ffa-M1f3778b50d362804be9e8401
Delivery options: https://cyrus.topicbox.com/groups/info/subscription