Re: Solr -> Xapian ?

2019-01-13 Thread Joan Moreau via dovecot
I found the solution o this using SEQ_RANGE_ARRAY_ADD(&RESULT->DEFINITE_UIDS, UID); Now, I can see in the logs that several times, the dovecot calls the fts_backend_xapian_update_set_mailbox with box == NULL. WHy so ? THank you On 2019-01-12 21:40, Joan Moreau via dovecot wrote: I somehow

Re: Error: User b...@aaa.bbb doesn't have home dir set, disabling duplicate database

2019-01-13 Thread subscription1
Yes, that is what I did and it all works apart from the error message on the server about the missing home dir The doc seems to indicate that a home dir is needed. Thanks, Leo On 12/1/19 8:42 pm, Stephan Bosch wrote: Op 11/01/2019 om 15:27 schreef subscription1: I made a mistake when I move

Re: Error: User b...@aaa.bbb doesn't have home dir set, disabling duplicate database

2019-01-13 Thread Stephan Bosch
Op 13/01/2019 om 11:56 schreef subscription1: Yes, that is what I did and it all works apart from the error message on the server about the missing home dir The doc seems to indicate that a home dir is needed. If you enable mail_debug=yes and perhaps auth_debug=yes, you should see what t

Re: [solved] managesieve configuration

2019-01-13 Thread Stephan Bosch
Op 13/01/2019 om 00:22 schreef Dominik Menke: For reference: if you put ssl=yes there, the TLS layer is established immediately. However, the standard ManageSieve protocol does not support that (not currently anyway): only the establishment of the TLS layer using the STARTTLS command is part

RE: degfault imaptest

2019-01-13 Thread Marc Roos
I already got an rpm from the fc repo. But this one is still in epel, would be nice if packages are at least working/updated in these repos, lots of sysadmin would like to have single/verified source. Don't know who is responsible for addressing this, just wanted to make sure you know. -

Re: Re: Feature request SCRAM-SHA-256

2019-01-13 Thread Tributh via dovecot
Hi, sorry for my late reply. Was too busy during the week. Thank you for your patches. I hope I will be able with them to get now some client support for SCRAM-SHA-256. Will report how I succeed in the future. Regards, Torsten On 07.01.19 20:31, Stephan Bosch wrote: > > Op 16/12/2018 om 10:06

[FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
Hi Please find attached the beta release of FTS Xapian, with the objective to replace fts_squat that is being deprecated. Configuration is exactly the same as for fts_squat: plugin { plugin = fts fts_xapian (...) fts = xapian fts_autoindex = yes fts_enforced = yes fts_xapian = partial=2 f

Indexing paralelism

2019-01-13 Thread Joan Moreau via dovecot
Hi Observing the processes of FTS, I observe the following: 1 - For one user, indexer-wroker does not start several threads for each request. On teh contrary, it waits for the first request to finish before starting the second. How to make sure all requests (or a limited number of it, for inst

Re: [FTS Xapian] Beta release

2019-01-13 Thread Aki Tuomi
> On 13 January 2019 at 17:05 Joan Moreau via dovecot > wrote: > > > Hi > > Please find attached the beta release of FTS Xapian, with the objective > to replace fts_squat that is being deprecated. > > Configuration is exactly the same as for fts_squat: > > plugin { > > plugin = fts ft

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
The only point here of this fts-xapian is to get rid of solr (because it is just a nightmare to setup) and squat (because it is considere obsolete). I already sent the changed in configure.ac, makefile.am, etc.. in order to include it in the dovecot, and it compiles properly The only remaini

Re: [FTS Xapian] Beta release

2019-01-13 Thread Aki Tuomi
Yes, from compiling point of view it is done. Unfortunately what is not done is all the other work involved, such as fixing all the inevitable bugs it has and maintaining it. We do not want, at this moment, take up maintaining and developing yet another FTS plugin as we have plenty of things to

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
Ok for having a link on the FTS page. PLease clarify what files are necessary to package it as a separate package On 2019-01-13 19:03, Aki Tuomi wrote: Yes, from compiling point of view it is done. Unfortunately what is not done is all the other work involved, such as fixing all the inevita

Re: [FTS Xapian] Beta release

2019-01-13 Thread Aki Tuomi
You need the fts-xapian.c mostly. All the rest comes from automake (unless you decide to use cmake or something else). I have attached you a skeleton plugin, which should work against dovecot master. If you experience problems with the skeleton, let us know. Aki > On 13 January 2019 at 20:23

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
THis is already what I send earlier (see : dovecot-xapian-1.0b2.tar.gz [1] ) What I would need is the files so one can download (git) it, and type some command (make ?) to compile it and place it in the right forlder (/usr/lib/dovecot/ or whatever is configured in the installed dovecot, which

Re: [FTS Xapian] Beta release

2019-01-13 Thread Aki Tuomi
If you had looked at what I sent, you'd seen it's quite different from what you sent. Anyways, put the contents of skeleton.tar.gz and ./src/plugins/fts-xapian/fts-xapian-plugin.h ./src/plugins/fts-xapian/fts-backend-xapian.cpp ./src/plugins/fts-xapian/Makefile.am ./src/plugins/fts-xapian/fts-b

Re: Solr -> Xapian ?

2019-01-13 Thread Joan Moreau via dovecot
because fts_squat is set to be deleted Xapian and similar libraries offers a very easy interface for FTS (and basically, I have done it already) On 2019-01-07 18:31, Michael Slusarz wrote: Maybe a dumb question (I admit I haven't followed this thread very closely)... But why are you writi

Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'

2019-01-13 Thread gsjarvis
Hello, I was wondering if there was any progress on this. I just upgraded a FreeBSD box and had the same issue again. I keep (reasonably) good support notes so I found the one that said I had to install from ports - so all is well. I was just wondering if there was any news. I look forward to h

Re: Freebsd: Fatal error - Support not compiled in for passdb driver 'sql'

2019-01-13 Thread Larry Rosenman
I've decided not to change the current behavior. Get Outlook for Android From: dovecot on behalf of gsjarvis Sent: Sunday, January 13, 2019 1:14:49 PM To: dovecot@dovecot.org Subject: Re: Freebsd: Fatal error - Support not compiled in for

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
Please kindly check https://github.com/grosjo/fts-xapian On 2019-01-13 20:11, Aki Tuomi wrote: If you had looked at what I sent, you'd seen it's quite different from what you sent. Anyways, put the contents of skeleton.tar.gz and ./src/plugins/fts-xapian/fts-xapian-plugin.h ./src/plugins/

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
I get the following error: # autoreconf -vi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. li

Re: [FTS Xapian] Beta release

2019-01-13 Thread Tuomi, Aki
You copied your Makefile.am there. Stephan made you a working version, can you try that? (sorry for dup) Aki Original message From: Joan Moreau Date: 13/01/2019 21:39 (GMT+02:00) To: Stephan Bosch Cc: Aki Tuomi Subject: Re: [FTS Xapian] Beta release I used the skeleton fr

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
I tried to combined it, the "autoreconf" errors are solved Now, when I type "make install", the lib is not pushed into dovecot folder, but somewhere in /usr/local/... How to adjust this to have it arriving in the proper folder ? On 2019-01-13 21:01, Tuomi, Aki wrote: You copied your Makefil

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
(or wherever dovecot installed its libraries) On 2019-01-13 21:25, Joan Moreau via dovecot wrote: I tried to combined it, the "autoreconf" errors are solved Now, when I type "make install", the lib is not pushed into dovecot folder, but somewhere in /usr/local/... How to adjust this to have

Re: [FTS Xapian] Beta release

2019-01-13 Thread Stephan Bosch
Op 13/01/2019 om 21:25 schreef Joan Moreau via dovecot: I tried to combined it, the "autoreconf" errors are solved Now, when I type "make install", the lib is not pushed into dovecot folder, but somewhere in /usr/local/... How to adjust this to have it arriving in the proper folder ? D

Re: Solr -> Xapian ?

2019-01-13 Thread Timo Sirainen
On 13 Jan 2019, at 10.45, Joan Moreau via dovecot wrote: > > Now, I can see in the logs that several times, the dovecot calls the > fts_backend_xapian_update_set_mailbox with box == NULL. WHy so ? > fts-api.h says: /* Switch to updating the specified mailbox. box may also be set to NULL to

Re: Indexing paralelism

2019-01-13 Thread Timo Sirainen
On 13 Jan 2019, at 19.23, Joan Moreau via dovecot wrote: > > Hi > > Observing the processes of FTS, I observe the following: > > > > 1 - For one user, indexer-wroker does not start several threads for each > request. On teh contrary, it waits for the first request to finish before > startin

Re: dovecot/config processes one more time - which are safe to kill?

2019-01-13 Thread Timo Sirainen
On 13 Dec 2018, at 11.18, Arkadiusz Miśkiewicz wrote: > > > Hello. > > The problem with dovecot/config processes never ending and spawning new > one on each reload > (https://www.dovecot.org/list/dovecot/2016-November/106058.html) is > becoming a problem here: > > # ps aux|grep dovecot/config|

Re: [FTS Xapian] Beta release

2019-01-13 Thread Joan Moreau via dovecot
Thank you Stephan. The version here shall be up and running : https://github.com/grosjo/fts-xapian On 2019-01-14 00:07, Stephan Bosch wrote: Op 13/01/2019 om 21:25 schreef Joan Moreau via dovecot: I tried to combined it, the "autoreconf" errors are solved Now, when I type "make install",

Re: Solr - complete setup (update)

2019-01-13 Thread Joan Moreau via dovecot
Hi Stephan, What's up with that ? Thank you so much On 2019-01-05 02:04, Stephan Bosch wrote: Hi, Op 04/01/2019 om 05:36 schreef Joan Moreau via dovecot: Hi This is the summary of my work with SOLR-Dovecot, in my *quest to reproduce the previoulsy excellent work of fts_squat* @Aki :

Re: [FTS Xapian] Beta release

2019-01-13 Thread Odhiambo Washington
In your README.md, perhaps "This project intends to provide a straightforward and simple *procedure *to configure FTS plugin for Dovecot, leveraging the efforts by the Xapian.org team." is better?? Also in the part after cloning from git: ./configure --prefix=/usr --with-dovecot=/path/to/dovecot [