Re: Xapian searches of the body of an email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sebastian,


I'll answer below (and in green) your answers!! Thanks a lot for your explanations mate :) :)

---
sarenet
Egoitz Aurrekoetxea
Departamento de sistemas
944 209 470
Parque Tecnológico. Edificio 103
48170 Zamudio (Bizkaia)

Antes de imprimir este correo electrónico piense si es necesario hacerlo.


El 07-01-2019 15:57, Sebastian Hagedorn escribió:

Hi,

--On 7. Januar 2019 um 14:51:02 +0100 Egoitz Aurrekoetxea <egoitz@xxxxxxxxxx> wrote:

This seems to take ages...

why don't you run it for a single account first, to make sure that it actually helps?
 
 
 
 
 
 
======================================================================================================
 
Yes :) it has worked as expected for a single account! have launched later the :
 
 
/usr/local/cyrus/sbin/ctl_conversationsdb -r -z
 
(still running)
 
and later the :
 
/usr/local/cyrus/sbin/ctl_conversationsdb -r -b
 
 
======================================================================================================


I'm trying to figure the best way of
implementing this and of clarifying concepts.... I'm running Squatter in
rolling replication mode and exist the concept of conversations then.
What is the exact role of each of them?. Squatter seems to index the
mailbox but when something is not properly indexed instead of running
Squatter you use ctl_conversations for reindexing some part again or...

squatter is nowadays a bit of a misnomer, because it uses whatever index you have configured. In cyrus 2.4, squatter would always create a SQUAT index. When you run squatter with Xapian, it will build the index, but for the index to actually work, you also need the conversationsdb. squatter does not touch the conversationsdb! The index is only a pointer to the conversationsdb, not to actual messages.
 
======================================================================================================
 
I see!! this was the key point I was loosing or which I was not able to see how all of them where related...
 
======================================================================================================


Robert can probably explain this much better than me, but I think the problem is the following:

• when you have conversations enabled in imapd.conf, normal deliveries to the mailboxes (e.g. using lmtpd) will update the conversationsdb

• syncing (at least using the "old" mechanism, not sure about sync between instances running 3.0)  does *not* update the conversationsdb
 
======================================================================================================
 
Although I assume, here if you run the Squatter in rolling mode within a slave server seems to update the index... although not sure if it could do too with conversationsdb.. how does a slave behave in this sense?. Could anyone help us please :) ??
 
======================================================================================================


Once you have a running 3.0 server, you probably won't need to run ctl_conversationsdb ever again. But when you are at the stage of syncing mail from 2.4 to 3.0, you *will* need to rebuild each user's conversationdb at least once, after you have finished with syncing that user.
 
======================================================================================================
 
This is important yes...
 
======================================================================================================

Again, this is all based on my understanding and not an official answer.
 
======================================================================================================
 
Any I thank a lot all your help!! Many many thanks mate!!
 
Cheers!!
 
======================================================================================================

El 07-01-2019 10:19, Sebastian Hagedorn escribió:

That sounds like the conversationsdb issue I was talking about. Have you
tried these steps?

ctl_conversationsdb -z USER
ctl_conversationsdb -b USER



Mit freundlichen Grüßen

Sebastian Hagedorn
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux