Re: doveadm_allowed_commands doesn't work as expected

2019-01-03 Thread Ronald Poon
Err...! I thought it is matching the API commands, instead, matching doveadm cli commands. Thanks you so much, Ronald On 4/1/2019 5:02 AM, Aki Tuomi wrote: On 03 January 2019 at 22:45 Ronald Poon wrote: Trying to limit the API calls to doveadm-http-api by configure allowed commands, but

Solr -> Xapian ?

2019-01-03 Thread Joan Moreau via dovecot
What about consedering linking Dovecot with Xapian librairies instead of going to nightmare Solr ? https://xapian.org/features On 2019-01-02 17:10, John Tulp wrote: On Wed, 2019-01-02 at 00:59 -0800, M. Balridge wrote: The main problem is : After some time of indexing from Dovecot, Dovecot

Solr - complete setup (update)

2019-01-03 Thread 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 improvements, and adding my name somewhere @All : Hope it helps -

Solr - complete setup

2019-01-03 Thread 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 improvements, and adding my name somewhere @All : Hope it helps -

Re: doveadm_allowed_commands doesn't work as expected

2019-01-03 Thread Aki Tuomi
> On 03 January 2019 at 22:45 Ronald Poon wrote: > > > Trying to limit the API calls to doveadm-http-api by configure allowed > commands, but once the commands added to the list, the RestAPI no longer > work. > > > 1) Return correct reply when doveadm_allowed_commands is empty > > # curl

doveadm_allowed_commands doesn't work as expected

2019-01-03 Thread Ronald Poon
Trying to limit the API calls to doveadm-http-api by configure allowed commands, but once the commands added to the list, the RestAPI no longer work. 1) Return correct reply when doveadm_allowed_commands is empty # curl -k -H "Content-Type: application/json" -H "Authorization: X-Dovecot-API

Re: Compiling Dovecot on Solaris 11 fails

2019-01-03 Thread Sami Ketola
> On 3 Jan 2019, at 18.45, Andrew Watkins wrote: > > > Hi, > > Tried to build dovecot-2.3.4 on Solaris 11 x86 and it fails at configure > part. I just went checked and it last version it works on is v2.3.2.1 does work just fine on my solaris 11 x86 box. configure:22610: checking whether

Re: Solr

2019-01-03 Thread Daniel Miller via dovecot
On 1/3/2019 10:56 AM, Tanstaafl wrote: On 12/21/2018, 11:19:42 AM, Daniel Miller via dovecot wrote: There is a *huge* difference between a functional Solr setup & squat Interesting. Care to elaborate? This is one of those things that has to be experienced to be understood.  When you can

Re: Solr

2019-01-03 Thread Daniel Miller via dovecot
On 1/1/2019 3:49 PM, Joan Moreau via dovecot wrote: Hi Solr is a standard package in ArchLinux. ("pacman -S solr") . the systemd installation script is included (and it is launching /opt/solr/bin/solr.in.sh) Instance : sudo -u solr /opt/solr/bin/solr create -c dovecot -> this creates a

Re: Solr

2019-01-03 Thread Daniel Miller via dovecot
On 1/2/2019 12:59 AM, M. Balridge wrote: So, without rancour or antipathy, I ask the entire list: has ANYONE gotten a Dovecot/solr-fts-plugin setup to work that provides as a BASELINE, all of the following functionality: 1) The ability to search for a string within any of the structured fields

Re: Solr

2019-01-03 Thread Daniel Miller via dovecot
I'm running 7.5.0.  The solrconfig.xml file is what I've modified over time - I haven't started one from scratch for a while but perhaps I'll try. Have you tried using the complete config that I sent you?  With *all* the files I included - and *none* of yours? -- Daniel On 1/1/2019 4:12

Re: Compiling Dovecot on Solaris 11 fails

2019-01-03 Thread Aki Tuomi
> On 03 January 2019 at 21:07 James wrote: > > > On 03/01/2019 16:45, Andrew Watkins wrote: > > Tried to build dovecot-2.3.4 on Solaris 11 x86 and it fails at configure > > part. I just went checked and it last version it works on is v2.3.2.1 > > > ... > > > > checking Linux compatible

Re: Compiling Dovecot on Solaris 11 fails

2019-01-03 Thread James
On 03/01/2019 16:45, Andrew Watkins wrote: Tried to build dovecot-2.3.4 on Solaris 11 x86 and it fails at configure part. I just went checked and it last version it works on is v2.3.2.1 ... checking Linux compatible mremap()... no checking whether shared mmaps get updated by write()s...

Re: Solr

2019-01-03 Thread Tanstaafl
On 12/21/2018, 11:19:42 AM, Daniel Miller via dovecot wrote: > There is a *huge* difference between a functional Solr setup & squat Interesting. Care to elaborate?

Re: Compiling Dovecot on Solaris 11 fails

2019-01-03 Thread Aki Tuomi
> On 03 January 2019 at 18:45 Andrew Watkins wrote: > > > > Hi, > > Tried to build dovecot-2.3.4 on Solaris 11 x86 and it fails at configure > part. I just went checked and it last version it works on is v2.3.2.1 > > Version 2.3.2.1 (OK) > # ./configure > > checking Linux compatible

Compiling Dovecot on Solaris 11 fails

2019-01-03 Thread Andrew Watkins
Hi, Tried to build dovecot-2.3.4 on Solaris 11 x86 and it fails at configure part. I just went checked and it last version it works on is v2.3.2.1 Version 2.3.2.1 (OK) # ./configure checking Linux compatible mremap()... no checking whether shared mmaps get updated by write()s... yes

Re: Request: Pigeonhole - strip CWFS from message-id logs

2019-01-03 Thread Stephan Bosch
Op 30-11-2018 om 14:06 schreef Lee Maguire: Normally for a log line containing the contents of a Message-Id, it is logged like the following Nov 29 11:41:27 xxx dovecot[211]: lmtp(lee)<30167>: sieve: msgid=: stored mail into mailbox 'Notifications' However, if there is CFWS other than a

Re: Fwd: Re: gcc -> clang

2019-01-03 Thread Aki Tuomi
The arithmetic stuff has already been fixed in master with https://github.com/dovecot/core/commit /5cccb4af850bb3ba81e73a8fb4f6881c3e1d4046.patch https://github.com/dovecot/core/commit /ac7aa955db4c77bbb169baa5d104a4c128674646.patch I have not seen the second error ever, it would need more

Re: gcc -> clang

2019-01-03 Thread Sami Ketola
> On 3 Jan 2019, at 14.04, Ruben Safir wrote: > > On 1/3/19 4:50 AM, Rupert Gallagher via dovecot wrote: >> Please, use clang instead of gcc. Code quality can only profit from it. I >> just compiled 2.3.4 and compiler stderr is full of interesting problems. >> > > > oh please This is

Re: Moving Alternate Storage to another disk.

2019-01-03 Thread bOnK
Okay, thank you. On 3-1-2019 11:25, Urban Loesch via dovecot wrote: Hi, if you have the new disk installed on the same server you can try: - mount new disk for example in /mnt/temp - rsync -vaWH all files + directories from the old to the new disk - stop dovecot so no changes will happen on

Re: gcc -> clang

2019-01-03 Thread Bernd Petrovitsch
Hi all! On 03/01/2019 10:50, Rupert Gallagher via dovecot wrote: > Please, use clang instead of gcc. Code quality can only profit from it. > I just compiled 2.3.4 and compiler stderr is full of interesting problems.  But obviously not interesting enough to share the clang command line and the

Re: gcc -> clang

2019-01-03 Thread Ruben Safir
On 1/3/19 4:50 AM, Rupert Gallagher via dovecot wrote: > Please, use clang instead of gcc. Code quality can only profit from it. I > just compiled 2.3.4 and compiler stderr is full of interesting problems. > oh please

Re: Sieve script unable to file into public folder after dovecot upgrade to version 2.3.4

2019-01-03 Thread Andreas Oster
Hi all, it has turned out that it actually was an ACL issue. I had to add "p" to the rule: authenticated lrsp Now fileinto is working again :-) Best regards Andreas Am 2. Januar 2019 13:10:03 schrieb Andreas Oster : Hi all, Wishing you and your families a Happy New Year 2019. I am

Re: Moving Alternate Storage to another disk.

2019-01-03 Thread Urban Loesch via dovecot
Hi, if you have the new disk installed on the same server you can try: - mount new disk for example in /mnt/temp - rsync -vaWH all files + directories from the old to the new disk - stop dovecot so no changes will happen on disks - make a final rsync again -> should not take many time - umout

Re: gcc -> clang

2019-01-03 Thread Aki Tuomi
We compile all core code with both gcc and clang. What sort of interesting things did you find? Aki On 03 January 2019 at 11:50 Rupert Gallagher via dovecot < dovecot@dovecot.org> wrote: Please, use clang

gcc -> clang

2019-01-03 Thread Rupert Gallagher via dovecot
Please, use clang instead of gcc. Code quality can only profit from it. I just compiled 2.3.4 and compiler stderr is full of interesting problems.