Re: Solr -> Xapian ?

2019-01-04 Thread Joan Moreau via dovecot
Thank Stephan I basically need to know the role/description of each of the functions of the fts_backend: struct fts_backend fts_backend_xapian = { .name = "xapian", .flags = FTS_BACKEND_FLAG_NORMALIZE_INPUT, -> WHAT OTHER FLAGS ? { fts_backend_xapian_alloc, fts_backend_xapian_init, fts_bac

Re: Solr - complete setup (update)

2019-01-04 Thread Stephan Bosch
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 : Based on the time I have spent on this, I would love to see you updating the Wiki with those improv

Re: Solr -> Xapian ?

2019-01-04 Thread Stephan Bosch
Op 04/01/2019 om 11:17 schreef Joan Moreau via dovecot: Why not, but please guide me about the core structure (mandatory funcitons, etc..) of a typical Dovecot FTS plugin The Dovecot API documentation is not exhaustive everywhere, but the basics are documented. The remaining questions can

Re: Solr

2019-01-04 Thread Stephan Bosch
Op 02/01/2019 om 11:00 schreef Joan Moreau via dovecot: Another bug appearing today: Jan 02 09:59:08 indexer-worker(j...@grosjo.net)<6777>: Warning:*fts-solr(j...@grosjo.net)*: Mailbox XX UID=121635*header size is huge, truncating* header of the said email has nothing of "huge" Doe

Feature request: client bind address for replication

2019-01-04 Thread John Fawcett
Hi would it be possible to consider a new parameter for replication: doveadm_local_ip which allows the source ip address to be set when connection to a remote dovecot for replication? It could be useful when the network interface has multiple ips and a specific one is used for mail services. See

Re: Solr -> Xapian ?

2019-01-04 Thread Joan Moreau via dovecot
Also, a description of the "to be" functions of the backend: struct fts_backend fts_backend_xapian = { .name = "xapian", .flags = FTS_BACKEND_FLAG_NORMALIZE_INPUT, -> WHAT OTHER FLAGS ? { fts_backend_xapian_alloc, fts_backend_xapian_init, fts_backend_xapian_deinit, fts_backend_xapian_get_last

Re: Solr -> Xapian ?

2019-01-04 Thread Joan Moreau via dovecot
Yes but: 1 - is there a documentation of the main object ? (fts_backend, mail_user, mailbox, etc..) 2 - What are the mandatory functions ? 3 - Search : Supposedly, the FTS shall have several parameters : the keyword(s), the user & mailbox, and the fields (to, from, body, etc..) to be includ

Re: Compiling Dovecot on Solaris 11 fails

2019-01-04 Thread Andrew Watkins
On 01/ 4/19 09:40 AM, James wrote: my test system is solaris 11.3 and I have gcc 4.5.2. Old versions of gcc do not have -mfunction-return=thunk 7 and 8 have it. Thanks for all this information and you have all pointed me in the right direction. The reason I get this error now is that I

RE: BUG: cannot move messages to root mailfolder in namespace "There can be only one namespace with inbox=yes"

2019-01-04 Thread Marc Roos
Where is a manual describing how to do this? Archive tree on different storage? ├── Archive/Archives/Archived Messages/Archived mail <- need to store messages in root folder also │   ├── 2017 │   │   ├── projects │   │   │   ├── project │   │   │   ├── project1 │   │   │   ├── project2 │   │ 

Re: Solr -> Xapian ?

2019-01-04 Thread admin
A starting point would be to have a look at the current FTS plugins: https://github.com/dovecot/core/tree/master/src/plugins/fts-solrandhttps://github.com/dovecot/core/tree/master/src/plugins/fts-squat -M Am Freitag, den 04.01.2019, 18:17 +0800 schrieb Joan Moreau via dovecot: > Why not, but plea

Re: Solr -> Xapian ?

2019-01-04 Thread Joan Moreau via dovecot
Why not, but please guide me about the core structure (mandatory funcitons, etc..) of a typical Dovecot FTS plugin On 2019-01-04 17:20, Aki Tuomi wrote: I hope you are aware that "linking with Xapian" requires somewhat more work than just -lxapian in linker? If you or someone feels like writin

Re: Compiling Dovecot on Solaris 11 fails

2019-01-04 Thread James
On 03/01/2019 20:42, Sami Ketola wrote: does work just fine on my solaris 11 x86 box. ... my test system is solaris 11.3 and I have gcc 4.5.2. Old versions of gcc do not have -mfunction-return=thunk 7 and 8 have it.

Re: Solr -> Xapian ?

2019-01-04 Thread Aki Tuomi
I hope you are aware that "linking with Xapian" requires somewhat more work than just -lxapian in linker? If you or someone feels like writing fts_xapian, go for it. Aki > On 04 January 2019 at 08:20 Joan Moreau via dovecot > wrote: > > > What about consedering linking Dovecot with Xapian

Re: Solr - complete setup

2019-01-04 Thread Aki Tuomi
We'll go thru all your updates, and try to update the wiki with what there is. Your effort is really appreciated here. Aki > On 04 January 2019 at 02:38 Joan Moreau via dovecot > wrote: > > > Hi > > This is the summary of my work with SOLR-Dovecot, in my QUEST TO > REPRODUCE THE PREVIOULSY

Unexpected accounts showing up in replication status (doveadm replicator status '*')

2019-01-04 Thread Daniel Schütze
I have a replication set up with two dovecot 2.3.4 servers. Messages appear to be replicating fine between them, however there is an oddity when I run doveadm replicator status '*' and I'm worried work is being carried out needlessly. Both machines have identical configs and have a mysql back