FTS search with CLucene giving odd results/exposing config issue

2015-03-11 Thread David Gessel
I recently got FTS search with Clucene working on FreeBSD 10.1 (I had some trouble with 9.3, postponed solving it, then restarted with 10.1 by manually installing libtextcat, a listed dependency on http://wiki2.dovecot.org/Plugins/FTS/Lucene, but not part of the FreeBSD makefile: maybe that

Re: libdriver_msql.so

2015-03-11 Thread Darac Marjal
On Wed, Mar 11, 2015 at 03:37:48PM +0100, kaniggl wrote: Hello, i installed dovecot 2.11.1 on ubuntu Linux dadd3041 3.16.0-30-generic #40-Ubuntu SMP Mon Jan 12 22:07:11 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux To make it clear, architecture is PowerPC 64bit Then i installed dovecot via

Re: Sieve reject with ORIG-TO vs TO

2015-03-11 Thread Stephan Bosch
On 3/11/2015 6:22 AM, E.B. wrote: Hi, The bounce message generated by the reject extension has what looks like a hard coded message prefix that comes before the configurable reason text: Your message to username was automatically rejected: In some cases, the username is NOT the

Re: Sieve security: Any way to protect credentials used in extprograms?

2015-03-11 Thread Stephan Bosch
On 3/11/2015 6:52 AM, E.B. wrote: I need to connect to a database in a script called using Sieve extprograms plugin. When delivering mail, Sieve is running as the mail recipient user, which means any files, either the sieve script or the extprograms it invokes, are run under that user's

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-11 Thread Stephan Bosch
On 3/11/2015 3:16 AM, E.B. wrote: Last time I had a few stupid problems in the releases, so I'll follow Timo's example and I release an RC first. The highlights include the implementation of the index and metadata extensions. Quite a few bugs are fixed as well. When I compiled and

Fixing broken UTF-8 handling with MySQL driver

2015-03-11 Thread Felix Zandanel
Hi, I noticed that dovecot's MySQL driver doesn't play well with UTF-8 encoded strings. I presume this issue has been around for a while. However, it still fails with the current release candidate 2.2.16-rc1. I have been using the sieve extdata plugin with a MySQL-backed dict to retrieve a

Re: Why is Sieve trying to re-compile global scripts?

2015-03-11 Thread Stephan Bosch
On 3/11/2015 11:10 AM, Olaf Hopp wrote: Please see the thread with subject Sieve permissions issue following update I tested sucessfully a developper issue last month on the hint of Stephan. Yesterday I started to test the currenr RCs. First I was disappointed, because the error seems to

Re: Deduplicate Public Folder

2015-03-11 Thread Hardy Flor
use the -o for doveadm: doveadm -o mail_location=mdbox:/path to shared box:LAYOUT=fs ... Am 10.03.2015 um 21:06 schrieb Bobber: How do you perform the doveadm deduplicate command on public folders? If I specify a user, nothing is found. Using -A also doesn't seem to work.

Re: Why is Sieve trying to re-compile global scripts?

2015-03-11 Thread E.B.
Not sure how I got it to go away last time. Might have gotten it to go away by deleting the scripts, causing an email delivery, THEN creating the scripts again. Although I think my ideas are all flawed: I can delete the scripts and recreate and recompile all in the same minute and I don't

Re: rawlog with -i not worked

2015-03-11 Thread Hardy Flor
When I change the option 'i' to the letter 'a' is everything as designed. Why is 'i' at this location the problem? diff -Nurb dovecot-2.2.16rc1/src/util/rawlog.c dovecot-2.2.16rc1.build/src/util/rawlog.c --- dovecot-2.2.16rc1/src/util/rawlog.c 2015-03-04

Re: Why is Sieve trying to re-compile global scripts?

2015-03-11 Thread E.B.
Since E.B. still got an obscure debug message about metadata not being up to date, I added debug lines to the remaining places where this could emerge (currently only available from hg). Using hg from just now - first line looks like what you want: dovecot: lmtp(testu...@example.com): Debug:

Re: Why is Sieve trying to re-compile global scripts?

2015-03-11 Thread E.B.
Using hg from just now - first line looks like what you want: dovecot: lmtp(testu...@example.com): Debug: U5ZtLH8IAVXydgNAM/SpMA: sieve: file script: Binary reports different script location (`script2.sieve' rather than `/usr/local/var/dovecot/sieve/script2.sieve') dovecot:

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-11 Thread E.B.
However, I do see that Sieve was accessing the user home directory because for some reason now it just created a .pki directory therein, which inside of it has an empty nssdb directory. That never happened before...? Not a big problem, but I'd prefer not to have that there.

Re: full text index per user?

2015-03-11 Thread Ralf Hildebrandt
* Ralf Hildebrandt r...@sys4.de: Is there any way of disabling the creation of a full text index on a per user basis? userdb lookup which returns fts=! -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64 Franziskanerstraße 15, 81669 München Sitz der Gesellschaft: München, Amtsgericht

Re: libdriver_msql.so

2015-03-11 Thread Reindl Harald
Am 11.03.2015 um 15:37 schrieb kaniggl: To make it clear, architecture is PowerPC 64bit Then i installed dovecot via apt-get. But the file /usr/lib/dovecot/modules/auth/libdriver_mysql.so is missing. install the sub-package dovecot-mysql and the next time *ask before* you ruin your system

Re: libdriver_msql.so

2015-03-11 Thread kaniggl
of course i installed dovecot-mysql before, but no file libdriver_msql.so was in there 2015-03-11 15:41 GMT+01:00 Reindl Harald h.rei...@thelounge.net: Am 11.03.2015 um 15:37 schrieb kaniggl: To make it clear, architecture is PowerPC 64bit Then i installed dovecot via apt-get. But the file

Re: libdriver_msql.so

2015-03-11 Thread Reindl Harald
Am 11.03.2015 um 15:43 schrieb kaniggl: of course i installed dovecot-mysql before, but no file libdriver_msql.so was in there i doubt that you are the only person using debian with dovecot and mysql however, that's not a dovecot question ask on your OS list how to fix your ruined setup

Re: dec2str ...

2015-03-11 Thread Teemu Huovila
On 03/11/2015 03:46 PM, Hardy Flor wrote: a very stupid question: What reason is there for an output with printf until dec2str to convert the numeric value to a string and not to use the format identifier %d or u%? The length of types such as pid_t or time_t can, at least in theory, vary from

dec2str ...

2015-03-11 Thread Hardy Flor
a very stupid question: What reason is there for an output with printf until dec2str to convert the numeric value to a string and not to use the format identifier %d or u%?

Re: Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1

2015-03-11 Thread E.B.
When I compiled and installed this, Sieve scripts were being ignored. Not sure if it's my own stupid mistake, but when I put v0.4.6 back in place, it worked fine. No configuration changes, only make install on the different sources and restart dovecot. Could you show your dovecot -n