[Dovecot] 2.0.X -> 2.1 pitfalls?
Hi all,
are there any pitfalls known for the migration from 2.0.18 to 2.1?
Can I simply stop dovecot, make install and start again?
--Frank Elsner
am 17.02.12 19:48 schrieb Frank Elsner <frank@moltke28.B.Shuttle.DE>:
Hi all,
are there any pitfalls known for the migration from 2.0.18 to 2.1?
Can I simply stop dovecot, make install and start again?
THIS also interests me.
--Frank Elsner
-- Mit freundlichen Grüßen, with kind regards, Jim Knuth
Alle Männer hatten schon immer Angst davor, daß die Frauen ohne sie zurechtkommen könnten. [Margaret Mead]
are there any pitfalls known for the migration from 2.0.18 to 2.1?
On 2/18/12 8:37 AM, Thomas Leuxner wrote:
are there any pitfalls known for the migration from 2.0.18 to 2.1? http://wiki2.dovecot.org/Upgrading/2.1
Squat is apparently deprecated:
http://dovecot.org/list/dovecot/2011-December/062630.html
On 20.2.2012, at 19.30, Metro Domain Admin wrote:
On 2/18/12 8:37 AM, Thomas Leuxner wrote:
are there any pitfalls known for the migration from 2.0.18 to 2.1? http://wiki2.dovecot.org/Upgrading/2.1
Squat is apparently deprecated: http://dovecot.org/list/dovecot/2011-December/062630.html
Yes, but it should still work..
On 21.02.2012 01:18, Timo Sirainen wrote:
On 20.2.2012, at 19.30, Metro Domain Admin wrote:
Squat is apparently deprecated: http://dovecot.org/list/dovecot/2011-December/062630.html
Yes, but it should still work..
As far as I can tell from my tests, squat has stopped working in 2.1.
Let's take a user who does not have any mails yet, and deliver a first mail to him:
echo -e 'From: <test@example.org>\nSubject: test\n\ntest\ntest' | /usr/local/dovecot/libexec/dovecot/dovecot-lda -d testuser
Now create an IMAP session, select INBOX, and do a search:
- 1 EXISTS
- 1 RECENT
- OK [UNSEEN 1] First unseen.
- OK [UIDVALIDITY 1330509552] UIDs valid
- OK [UIDNEXT 2] Predicted next UID
- OK [HIGHESTMODSEQ 1] Highest . OK [READ-WRITE] Select completed.
. search text test
- SEARCH . OK Search completed (0.006 secs).
(Should have returned 1 message.)
Deliver the same message again: echo -e 'From: <test@example.org>\nSubject: test\n\ntest\ntest' | /usr/local/dovecot/libexec/dovecot/dovecot-lda -d testuser
Now in the existing session, run the search command three more times:
- SEARCH
- 2 EXISTS
- 2 RECENT . OK Search completed (0.000 secs).
- SEARCH 2 . OK Search completed (0.002 secs).
. search text test
. search text test
. search text test
- SEARCH . OK Search completed (0.000 secs).
It found the message once, but the next time it didn't. So the squat search does not actually seem to work any more. I know it's deprecated, I just wanted to note this.
Cheers, Christoph
-- Christoph Bußenius Rechnerbetriebsgruppe der Fakultäten Informatik und Mathematik Technische Universität München +49 89-289-18519 <> Raum 00.05.055 <> Boltzmannstr. 3 <> Garching
On 29.02.2012 11:03, Christoph Bußenius wrote:
It found the message once, but the next time it didn't. So the squat search does not actually seem to work any more.
Sorry, I forgot to include the configuration:
# 2.1.1: /usr/local/dovecot/etc/dovecot/dovecot.conf # OS: Linux 2.6.32-35-server x86_64 Ubuntu 10.04.4 LTS disable_plaintext_auth = no mail_gid = vmail mail_location = maildir:~/Maildir mail_plugins = fts fts_squat mail_uid = vmail namespace { inbox = yes location = prefix = } passdb { args = scheme=CRYPT username_format=%u /usr/local/dovecot/etc/dovecot/users driver = passwd-file } plugin { fts = squat fts_squat = partial=4 full=4 } protocols = imap service auth { unix_listener auth-userdb { group = vmail mode = 0660 } } ssl_cert = </etc/ssl/certs/dovecot.pem ssl_key = </etc/ssl/private/dovecot.pem userdb { args = username_format=%u /usr/local/dovecot/etc/dovecot/users driver = passwd-file } protocol imap { mail_plugins = fts fts_squat }
-- Christoph Bußenius Rechnerbetriebsgruppe der Fakultäten Informatik und Mathematik Technische Universität München +49 89-289-18519 <> Raum 00.05.055 <> Boltzmannstr. 3 <> Garching
- Christoph Bußenius <busseniu@in.tum.de>:
On 21.02.2012 01:18, Timo Sirainen wrote:
On 20.2.2012, at 19.30, Metro Domain Admin wrote:
Squat is apparently deprecated: http://dovecot.org/list/dovecot/2011-December/062630.html
Looking at http://wiki2.dovecot.org/Plugins/FTS/Lucene now. What else do I need for fts_lucene to work? Any 3rd party packages? Libs? Compile Time Options?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 29.02.2012 11:09, Ralf Hildebrandt wrote:
- Christoph Bußenius <busseniu@in.tum.de>:
On 21.02.2012 01:18, Timo Sirainen wrote:
On 20.2.2012, at 19.30, Metro Domain Admin wrote:
Squat is apparently deprecated:
http://dovecot.org/list/dovecot/2011-December/062630.htmlLooking at http://wiki2.dovecot.org/Plugins/FTS/Lucene now. What else do I need for fts_lucene to work? Any 3rd party packages? Libs? Compile Time Options?
Build it with lucene support. --with-lucene
Best regards,
Morten
- Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>:
- Christoph Bußenius <busseniu@in.tum.de>:
On 21.02.2012 01:18, Timo Sirainen wrote:
On 20.2.2012, at 19.30, Metro Domain Admin wrote:
Squat is apparently deprecated: http://dovecot.org/list/dovecot/2011-December/062630.html
Looking at http://wiki2.dovecot.org/Plugins/FTS/Lucene now. What else do I need for fts_lucene to work? Any 3rd party packages? Libs? Compile Time Options?
Rebuilding with --with-lucene --with-stemmer, let's see what happens.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
- Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>:
- Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>:
- Christoph Bußenius <busseniu@in.tum.de>:
On 21.02.2012 01:18, Timo Sirainen wrote:
On 20.2.2012, at 19.30, Metro Domain Admin wrote:
Squat is apparently deprecated: http://dovecot.org/list/dovecot/2011-December/062630.html
Looking at http://wiki2.dovecot.org/Plugins/FTS/Lucene now. What else do I need for fts_lucene to work? Any 3rd party packages? Libs? Compile Time Options?
Rebuilding with --with-lucene --with-stemmer, let's see what happens.
The plugin doesn't build:
postamt:/usr/src/dovecot-2.1/dovecot-2.1/src/plugins/fts-lucene# make
/bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -g -Wl,--as-needed -g -O2 -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c -o lucene-wrapper.lo lucene-wrapper.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -g -Wl,--as-needed -g -O2 -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c lucene-wrapper.cc -fPIC -DPIC -o .libs/lucene-wrapper.o In file included from /usr/include/CLucene/config/compiler.h:40:0, from /usr/include/CLucene/StdHeader.h:17, from /usr/include/CLucene.h:11, from lucene-wrapper.cc:23: /usr/include/CLucene/config/CompilerGcc.h:12:68: fatal error: CLucene/clucene-config.h: No such file or directory compilation terminated. make: *** [lucene-wrapper.lo] Error 1
# dpkg -L libclucene-dev |grep -i clucene-config /usr/lib/CLucene/clucene-config.h
That's retarded! Who's putting includes into /usr/lib/CLucene/ ??? ARGH! After symlinking, I'm getting:
# make /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -g -Wl,--as-needed -g -O2 -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c -o lucene-wrapper.lo lucene-wrapper.cc libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -g -Wl,--as-needed -g -O2 -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c lucene-wrapper.cc -fPIC -DPIC -o .libs/lucene-wrapper.o lucene-wrapper.cc:24:36: fatal error: CLucene/util/CLStreams.h: No such file or directory compilation terminated.
Where do I get this include from (on Debian)?
# dpkg -l |grep lucene ii libclucene-dev 0.9.21b-2+b1 library for full-featured text search engine (development) ii libclucene0ldbl 0.9.21b-2+b1 library for full-featured text search engine (runtime)
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 29.2.2012, at 15.27, Ralf Hildebrandt wrote:
The plugin doesn't build:
postamt:/usr/src/dovecot-2.1/dovecot-2.1/src/plugins/fts-lucene# make .. ii libclucene-dev 0.9.21b-2+b1 library for full-featured text search engine (development) ii libclucene0ldbl 0.9.21b-2+b1 library for full-featured text search engine (runtime)
It requires CLucene 2.3.2.
- Timo Sirainen <tss@iki.fi>:
On 29.2.2012, at 15.27, Ralf Hildebrandt wrote:
The plugin doesn't build:
postamt:/usr/src/dovecot-2.1/dovecot-2.1/src/plugins/fts-lucene# make .. ii libclucene-dev 0.9.21b-2+b1 library for full-featured text search engine (development) ii libclucene0ldbl 0.9.21b-2+b1 library for full-featured text search engine (runtime)
It requires CLucene 2.3.2.
ARGH.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
- Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>:
- Timo Sirainen <tss@iki.fi>:
On 29.2.2012, at 15.27, Ralf Hildebrandt wrote:
The plugin doesn't build:
postamt:/usr/src/dovecot-2.1/dovecot-2.1/src/plugins/fts-lucene# make .. ii libclucene-dev 0.9.21b-2+b1 library for full-featured text search engine (development) ii libclucene0ldbl 0.9.21b-2+b1 library for full-featured text search engine (runtime)
It requires CLucene 2.3.2.
ARGH.
I installed CLucene 2.3.3 and it compiled OK for me. Thanks for the info. Maybe the configure should check for a version >=2.3.2!
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 29.2.2012, at 16.27, Ralf Hildebrandt wrote:
I installed CLucene 2.3.3 and it compiled OK for me. Thanks for the info. Maybe the configure should check for a version >=2.3.2!
I've thought about adding such checks, but autoconf seems to make it difficult to do C++ checks so I haven't bothered.. But I added that info to wiki.
On 29.02.2012 14:29, Timo Sirainen wrote:
On 29.2.2012, at 15.27, Ralf Hildebrandt wrote:
The plugin doesn't build:
postamt:/usr/src/dovecot-2.1/dovecot-2.1/src/plugins/fts-lucene# make .. ii libclucene-dev 0.9.21b-2+b1 library for full-featured text search engine (development) ii libclucene0ldbl 0.9.21b-2+b1 library for full-featured text search engine (runtime)
It requires CLucene 2.3.2.
Hi Timo,
I have the same problem. It does not build with 2.3.3.
[mockbuild@x86-002 result]$ cat root.log | grep clucene
DEBUG util.py:257: --> clucene-core-devel-2.3.3.4-3.fc16.x86_64
DEBUG util.py:257: clucene-core-devel x86_64 2.3.3.4-3.fc16
updates-released 258 k
DEBUG util.py:257: clucene-core x86_64 2.3.3.4-3.fc16
updates-released 507 k
DEBUG util.py:257: clucene-core-devel.x86_64 0:2.3.3.4-3.fc16
DEBUG util.py:257: clucene-core.x86_64 0:2.3.3.4-3.fc16
build.log:
Making all in fts-lucene
make[4]: Entering directory
/builddir/build/BUILD/dovecot-2.1.1/src/plugins/fts-lucene' /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -c -o doveadm-fts-lucene.lo doveadm-fts-lucene.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -c -o fts-lucene-plugin.lo fts-lucene-plugin.c /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -c -o fts-backend-lucene.lo fts-backend-lucene.c /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c -o lucene-wrapper.lo lucene-wrapper.cc libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -c fts-backend-lucene.c -fPIC -DPIC -o .libs/fts-backend-lucene.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -c doveadm-fts-lucene.c -fPIC -DPIC -o .libs/doveadm-fts-lucene.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -c fts-lucene-plugin.c -fPIC -DPIC -o .libs/fts-lucene-plugin.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c lucene-wrapper.cc -fPIC -DPIC -o .libs/lucene-wrapper.o In file included from /usr/include/CLucene/StdHeader.h:20:0, from /usr/include/CLucene.h:11, from lucene-wrapper.cc:23: /usr/include/CLucene/SharedHeader.h:18:36: fatal error: CLucene/clucene-config.h: No such file or directory compilation terminated. /bin/sh ../../../libtool --tag=CC --mode=link gcc -std=gnu99 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -fno-builtin-strftime -Wstrict-aliasing=2 -module -avoid-version -Wl,-z,relro -o lib20_doveadm_fts_lucene_plugin.la -rpath /usr/lib64/dovecot/doveadm doveadm-fts-lucene.lo -lrt make[4]: *** [lucene-wrapper.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: link: gcc -shared -fPIC -DPIC .libs/doveadm-fts-lucene.o -lrt -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -Wl,-soname -Wl,lib20_doveadm_fts_lucene_plugin.so -o .libs/lib20_doveadm_fts_lucene_plugin.so libtool: link: ( cd ".libs" && rm -f "lib20_doveadm_fts_lucene_plugin.la" && ln -s "../lib20_doveadm_fts_lucene_plugin.la" "lib20_doveadm_fts_lucene_plugin.la" ) make[4]: Leaving directory
/builddir/build/BUILD/dovecot-2.1.1/src/plugins/fts-lucene'
make[3]: Leaving directory
/builddir/build/BUILD/dovecot-2.1.1/src/plugins' make[3]: *** [all-recursive] Error 1 make[2]: Leaving directory
/builddir/build/BUILD/dovecot-2.1.1/src'
make[2]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/dovecot-2.1.1'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.0Z7jEb (%build)
Bad exit status from /var/tmp/rpm-tmp.0Z7jEb (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/dovecot.spec']
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py",
line 70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 352,
in do
raise mockbuild.exception.Error, ("Command failed. See logs for
output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps
builddir/build/SPECS/dovecot.spec']
LEAVE do --> EXCEPTION RAISED
Best regards,
Morten
- Morten Stevens <mstevens@imt-systems.com>:
It requires CLucene 2.3.2.
Hi Timo,
I have the same problem. It does not build with 2.3.3.
I'm right now trying exactly this :)
In file included from /usr/include/CLucene/StdHeader.h:20:0, from /usr/include/CLucene.h:11, from lucene-wrapper.cc:23: /usr/include/CLucene/SharedHeader.h:18:36: fatal error: CLucene/clucene-config.h: No such file or directory
Did you try symlinking the file?
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 29.02.2012 14:58, Ralf Hildebrandt wrote:
- Morten Stevens <mstevens@imt-systems.com>:
It requires CLucene 2.3.2.
Hi Timo,
I have the same problem. It does not build with 2.3.3.
I'm right now trying exactly this :)
In file included from /usr/include/CLucene/StdHeader.h:20:0, from /usr/include/CLucene.h:11, from lucene-wrapper.cc:23: /usr/include/CLucene/SharedHeader.h:18:36: fatal error: CLucene/clucene-config.h: No such file or directory
Did you try symlinking the file?
I'm not sure if this is possible because we use a chroot build environment to build RPM packages for Fedora and RHEL. See: http://fedoraproject.org/wiki/Projects/Mock
Best regards,
Morten
On 29.02.2012 15:09, Morten Stevens wrote:
On 29.02.2012 14:58, Ralf Hildebrandt wrote:
- Morten Stevens <mstevens@imt-systems.com>:
It requires CLucene 2.3.2.
Hi Timo,
I have the same problem. It does not build with 2.3.3.
I'm right now trying exactly this :)
In file included from /usr/include/CLucene/StdHeader.h:20:0, from /usr/include/CLucene.h:11, from lucene-wrapper.cc:23: /usr/include/CLucene/SharedHeader.h:18:36: fatal error: CLucene/clucene-config.h: No such file or directory
Did you try symlinking the file?
I'm not sure if this is possible because we use a chroot build environment to build RPM packages for Fedora and RHEL. See: http://fedoraproject.org/wiki/Projects/Mock
Update:
This is a Fedora-specific problem, because clucene (build requirement) is not correctly packaged.
Best regards,
Morten
- Morten Stevens <mstevens@imt-systems.com>:
This is a Fedora-specific problem, because clucene (build requirement) is not correctly packaged.
Well, debian showed the same packaging (wrong place).
Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 2012-02-29 9:30 AM, Ralf Hildebrandt <Ralf.Hildebrandt@charite.de> wrote:
- Morten Stevens<mstevens@imt-systems.com>:
This is a Fedora-specific problem, because clucene (build requirement) is not correctly packaged.
Well, debian showed the same packaging (wrong place).
I just attempted to update to 2.1.3 on gentoo and received the same error:
/usr/include/CLucene/SharedHeader.h:18:36: fatal error: CLucene/clucene-config.h: No such file or directory
So, is this also a packaging error that I need to report to gentoo?
--
Best regards,
Charles
On 29.2.2012, at 12.03, Christoph Bußenius wrote:
On 21.02.2012 01:18, Timo Sirainen wrote:
On 20.2.2012, at 19.30, Metro Domain Admin wrote:
Squat is apparently deprecated: http://dovecot.org/list/dovecot/2011-December/062630.html
Yes, but it should still work..
As far as I can tell from my tests, squat has stopped working in 2.1.
On 29.2.12 11:03, Christoph Bußenius wrote:
On 21.02.2012 01:18, Timo Sirainen wrote:
On 20.2.2012, at 19.30, Metro Domain Admin wrote:
Squat is apparently deprecated: http://dovecot.org/list/dovecot/2011-December/062630.html
Yes, but it should still work..
As far as I can tell from my tests, squat has stopped working in 2.1.
Let's take a user who does not have any mails yet, and deliver a first mail to him:
echo -e 'From: <test@example.org>\nSubject: test\n\ntest\ntest' | /usr/local/dovecot/libexec/dovecot/dovecot-lda -d testuser
Now create an IMAP session, select INBOX, and do a search:
- 1 EXISTS
- 1 RECENT
- OK [UNSEEN 1] First unseen.
- OK [UIDVALIDITY 1330509552] UIDs valid
- OK [UIDNEXT 2] Predicted next UID
- OK [HIGHESTMODSEQ 1] Highest . OK [READ-WRITE] Select completed.
. search text test
- SEARCH . OK Search completed (0.006 secs).
(Should have returned 1 message.)
Deliver the same message again: echo -e 'From: <test@example.org>\nSubject: test\n\ntest\ntest' | /usr/local/dovecot/libexec/dovecot/dovecot-lda -d testuser
Now in the existing session, run the search command three more times:
- SEARCH
- 2 EXISTS
- 2 RECENT . OK Search completed (0.000 secs).
- SEARCH 2 . OK Search completed (0.002 secs).
. search text test
. search text test
. search text test
- SEARCH . OK Search completed (0.000 secs).
It found the message once, but the next time it didn't. So the squat search does not actually seem to work any more. I know it's deprecated, I just wanted to note this.
Cheers, Christoph
I had the same symptoms (dovecot 2.1.7), but in my case the reason were corrupted Maildir filenames (S=xxxx and the actual file size differed, which among other things also caused trouble in fts_squat). Those files were a result of a bug in the qmail-maildir++ patch.
For details see http://www.dovecot.org/list/dovecot/2012-June/066281.html
-- Michael
participants (10)
-
Charles Marcus
-
Christoph Bußenius
-
Frank Elsner
-
Jim Knuth
-
Metro Domain Admin
-
Michael Gmelin
-
Morten Stevens
-
Ralf Hildebrandt
-
Thomas Leuxner
-
Timo Sirainen