[Dovecot] v1.1.2 release candidate
I've finally read and answered most of the mails on this list. If you haven't received an answer to your question, resend it. There are a couple of tricky mbox issues left, but I'm not sure if I can do anything about them unless someone can show me how to reproduce the problems.
There are quite a lot of new features in v1.1.2 actually. Most of them are in plugins so hopefully they shouldn't destabilize anything. Anyway I tought I'd just in case put out a quick release candidate so at least a few people could try it. I'll probably make the final v1.1.2 release in a day or two.
So, please test: http://dovecot.org/tmp/dovecot-1.1.2-rc.tar.gz
Largest changes since v1.1.1 are:
+ Added full text search indexing support for Apache Lucene Solr
server: http://wiki.dovecot.org/Plugins/FTS/Solr
+ IMAP SORT: Added X-SCORE sort key for use with Solr searches.
+ zlib plugin supports now bzip2 also.
+ quota: All backends now take noenforcing parameter.
+ Maildir: Add ,S=<size> to maildir filename whenever quota plugin
is loaded, even when not using Maildir++ quota.
+ deliver: Allow lda section to override plugin settings.
+ deliver: Giving a -m <namespace prefix> parameter now silently saves
the mail to INBOX. This is useful for e.g. -m INBOX/${extension}
+ Added a new maildirlock utility for write-locking Dovecot Maildir.
+ dict-sql: Support non-MySQL databases by assuming they implement the
"INSERT .. ON DUPLICATE KEY" using an INSERT trigger.
- SORT: Fixed several crashes/errors with sort indexing.
- IMAP: BODYSTRUCTURE is finally RFC 3501 compliant. Earlier versions
didn't include Content-Location support.
- IMAP: Fixed bugs with listing INBOX.
- Maildir: maildirfolder file wasn't created when dovecot-shared
file existed on the root directory
- deliver didn't expand %variables in namespace location settings.
- zlib: Copying non-compressed messages resulted in empty mails
(except when hardlink-copying between maildirs).
- mbox-snarf plugin was somewhat broken
- deliver + Maildir: If uidlist couldn't be locked while saving,
we might have assert-crashed
- Timo Sirainen, 2008-07-21 00:11
I've finally read and answered most of the mails on this list. If you haven't received an answer to your question, resend it. [...]
Segfaults with fts_lucene enabled - the bug report is/was for 1.1.0, but it should still be valid for 1.1.1, as there were no changes to the code in question according to the 1.1.1 Changelog:
-> http://dovecot.org/list/dovecot/2008-June/031611.html
Bye, Thomas
On Mon, 2008-07-21 at 06:40 +0200, Thomas Zajic wrote:
- Timo Sirainen, 2008-07-21 00:11
I've finally read and answered most of the mails on this list. If you haven't received an answer to your question, resend it. [...]
Segfaults with fts_lucene enabled - the bug report is/was for 1.1.0, but it should still be valid for 1.1.1, as there were no changes to the code in question according to the 1.1.1 Changelog:
I'll see about that, but with v1.1.2 I'd recommend using fts-solr instead. fts-lucene does things less efficiently and it has some issues when the search index is tried to be accessed by multiple processes at the same time.
- Timo Sirainen, 2008-07-21 14:29
On Mon, 2008-07-21 at 06:40 +0200, Thomas Zajic wrote:
I'll see about that, but with v1.1.2 I'd recommend using fts-solr instead. fts-lucene does things less efficiently and it has some issues when the search index is tried to be accessed by multiple processes at the same time.
Okay, thanks, will do. As I said in my original bug report, it's not a big problem, as I was only checking out new 1.1.x features anyway. :-)
Thomas
Timo Sirainen wrote:
I've finally read and answered most of the mails on this list. If you haven't received an answer to your question, resend it. There are a couple of tricky mbox issues left, but I'm not sure if I can do anything about them unless someone can show me how to reproduce the problems.
Largest changes since v1.1.1 are:
- zlib plugin supports now bzip2 also.
This breaks for me on Solaris 8 and gcc 3.3.2
In file included from istream-bzlib.c:8:
/usr/include/bzlib.h:170: error: parse error before "FILE"
/usr/include/bzlib.h:198: error: parse error before "FILE"
In file included from istream-bzlib.c:19:
istream-zlib.c: In function i_stream_zlib_close': istream-zlib.c:38: warning: implicit declaration of function
BZ2_bzclose'
istream-zlib.c: In function i_stream_zlib_read': istream-zlib.c:90: warning: implicit declaration of function
BZ2_bzread'
istream-zlib.c: In function i_stream_zlib_seek': istream-zlib.c:128: warning: implicit declaration of function
BZ2_bzdopen'
istream-zlib.c:128: warning: assignment makes pointer from integer
without a cast
istream-zlib.c: In function `i_stream_create_bzlib':
istream-zlib.c:220: warning: assignment makes pointer from integer
without a cast
lines 168-175 of bzlib.h (part of SUNWbzip package):
BZ_EXTERN BZFILE* BZ_API(bzReadOpen) ( int* bzerror, FILE* f, int verbosity, int small, void* unused, int nUnused );
and similar for line 198. Solaris 10/gcc 3.4.3 seems OK so perhaps the Solaris 8 bzip2 library is too old (appears to be "bzip2/libbzip2 version 0.9.0c")?
Best Wishes, Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Mon, 2008-07-21 at 10:14 +0100, Chris Wakelin wrote:
- zlib plugin supports now bzip2 also.
This breaks for me on Solaris 8 and gcc 3.3.2
In file included from istream-bzlib.c:8: /usr/include/bzlib.h:170: error: parse error before "FILE" /usr/include/bzlib.h:198: error: parse error before "FILE"
This should help: http://hg.dovecot.org/dovecot-1.1/rev/b6ab2e6835e4
In file included from istream-bzlib.c:19: istream-zlib.c: In function
i_stream_zlib_close': istream-zlib.c:38: warning: implicit declaration of function
BZ2_bzclose'
Well, these then..
and similar for line 198. Solaris 10/gcc 3.4.3 seems OK so perhaps the Solaris 8 bzip2 library is too old (appears to be "bzip2/libbzip2 version 0.9.0c")?
Yes, I guess they didn't have those BZ2 prefixes. Probably not worth the trouble to support the old library, so: http://hg.dovecot.org/dovecot-1.1/rev/d46b9e8dcf13
Timo Sirainen wrote:
On Mon, 2008-07-21 at 10:14 +0100, Chris Wakelin wrote:
- zlib plugin supports now bzip2 also. This breaks for me on Solaris 8 and gcc 3.3.2
In file included from istream-bzlib.c:8: /usr/include/bzlib.h:170: error: parse error before "FILE" /usr/include/bzlib.h:198: error: parse error before "FILE"
This should help: http://hg.dovecot.org/dovecot-1.1/rev/b6ab2e6835e4
In file included from istream-bzlib.c:19: istream-zlib.c: In function
i_stream_zlib_close': istream-zlib.c:38: warning: implicit declaration of function
BZ2_bzclose'Well, these then..
and similar for line 198. Solaris 10/gcc 3.4.3 seems OK so perhaps the Solaris 8 bzip2 library is too old (appears to be "bzip2/libbzip2 version 0.9.0c")?
Yes, I guess they didn't have those BZ2 prefixes. Probably not worth the trouble to support the old library, so: http://hg.dovecot.org/dovecot-1.1/rev/d46b9e8dcf13
That fixes it, of course (so does removing the BZ2_ prefixes from the functions together with the stdio.h include). I'm left with just (most of) the compile errors I mentioned in http://www.dovecot.org/list/dovecot/2008-June/031350.html plus
mailbox-list.c: In function `mailbox_list_get_permissions': mailbox-list.c:286: warning: unsigned int format, mode_t arg (arg 4)
Presumably these don't matter?
Best Wishes, Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Mon, 2008-07-21 at 14:48 +0100, Chris Wakelin wrote:
I'm left with just (most of) the compile errors I mentioned in http://www.dovecot.org/list/dovecot/2008-June/031350.html plus
You mean compiler warnings? Anyway I did go through them and fixed a couple of those, but I don't think I'll bother with all of them since that'd just make the code uglier and gcc 4.* doesn't warn about them anymore.
../../config.h:564:1: warning: "_FILE_OFFSET_BITS" redefined
I'm not sure how to fix this though.
mailbox-list.c: In function `mailbox_list_get_permissions': mailbox-list.c:286: warning: unsigned int format, mode_t arg (arg 4)
Fixed now.
Timo Sirainen wrote:
"AC_DEFINE(HAVE_BZLIB,, Define if you have zlib library)"
There seems to be a copy/paste error with the "zlib" there ...
Cheers, Anders Nitpicker
On Mon, 2008-07-21 at 16:00 +0200, Anders wrote:
Timo Sirainen wrote:
"AC_DEFINE(HAVE_BZLIB,, Define if you have zlib library)"
There seems to be a copy/paste error with the "zlib" there ...
Thanks, fixed.
On Monday 21 July 2008, Timo Sirainen wrote:
- Maildir: Add ,S=<size> to maildir filename whenever quota plugin is loaded, even when not using Maildir++ quota.
Could S= be always added even when no quota plugin is loaded? Is there any point in not adding S= anyway?
-- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/
On Mon, 2008-07-21 at 15:51 +0200, Arkadiusz Miskiewicz wrote:
On Monday 21 July 2008, Timo Sirainen wrote:
- Maildir: Add ,S=<size> to maildir filename whenever quota plugin is loaded, even when not using Maildir++ quota.
Could S= be always added even when no quota plugin is loaded?
Why do you want it if you don't use quota?
Is there any point in not adding S= anyway?
Wastes a bit of space..
On Monday 21 July 2008, Timo Sirainen wrote:
On Mon, 2008-07-21 at 15:51 +0200, Arkadiusz Miskiewicz wrote:
On Monday 21 July 2008, Timo Sirainen wrote:
- Maildir: Add ,S=<size> to maildir filename whenever quota plugin is loaded, even when not using Maildir++ quota.
Could S= be always added even when no quota plugin is loaded?
Why do you want it if you don't use quota?
Non dovecot tools use S= as size indicator. exim for example, tpop3d and others. Not everyone uses all dovecot components (I for example use imap only - works great btw.).
Is there any point in not adding S= anyway?
Wastes a bit of space..
I guess that depends on filesystem being used.
-- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/
On Mon, 2008-07-21 at 17:33 +0200, Arkadiusz Miskiewicz wrote:
On Monday 21 July 2008, Timo Sirainen wrote:
On Mon, 2008-07-21 at 15:51 +0200, Arkadiusz Miskiewicz wrote:
On Monday 21 July 2008, Timo Sirainen wrote:
- Maildir: Add ,S=<size> to maildir filename whenever quota plugin is loaded, even when not using Maildir++ quota.
Could S= be always added even when no quota plugin is loaded?
Why do you want it if you don't use quota?
Non dovecot tools use S= as size indicator. exim for example, tpop3d and others. Not everyone uses all dovecot components (I for example use imap only - works great btw.).
If you're not using quota, what are the other components using the S= for?
Is there any point in not adding S= anyway?
Wastes a bit of space..
I guess that depends on filesystem being used.
It's also written to dovecot-uidlist.
Il Monday 21 July 2008 00:11:57 Timo Sirainen ha scritto:
I've finally read and answered most of the mails on this list. If you haven't received an answer to your question, resend it. There are a couple of tricky mbox issues left, but I'm not sure if I can do anything about them unless someone can show me how to reproduce the problems.
There are quite a lot of new features in v1.1.2 actually. Most of them are in plugins so hopefully they shouldn't destabilize anything. Anyway I tought I'd just in case put out a quick release candidate so at least a few people could try it. I'll probably make the final v1.1.2 release in a day or two.
So, please test: http://dovecot.org/tmp/dovecot-1.1.2-rc.tar.gz
Largest changes since v1.1.1 are:
- Added full text search indexing support for Apache Lucene Solr server: http://wiki.dovecot.org/Plugins/FTS/Solr
- IMAP SORT: Added X-SCORE sort key for use with Solr searches.
- zlib plugin supports now bzip2 also.
- quota: All backends now take noenforcing parameter.
- Maildir: Add ,S=<size> to maildir filename whenever quota plugin is loaded, even when not using Maildir++ quota.
- deliver: Allow lda section to override plugin settings.
- deliver: Giving a -m <namespace prefix> parameter now silently saves the mail to INBOX. This is useful for e.g. -m INBOX/${extension}
- Added a new maildirlock utility for write-locking Dovecot Maildir.
- dict-sql: Support non-MySQL databases by assuming they implement the "INSERT .. ON DUPLICATE KEY" using an INSERT trigger.
- SORT: Fixed several crashes/errors with sort indexing.
- IMAP: BODYSTRUCTURE is finally RFC 3501 compliant. Earlier versions didn't include Content-Location support.
- IMAP: Fixed bugs with listing INBOX.
- Maildir: maildirfolder file wasn't created when dovecot-shared file existed on the root directory
- deliver didn't expand %variables in namespace location settings.
- zlib: Copying non-compressed messages resulted in empty mails (except when hardlink-copying between maildirs).
- mbox-snarf plugin was somewhat broken
- deliver + Maildir: If uidlist couldn't be locked while saving, we might have assert-crashed
Hi Timo,
have you read this thread on vpopmail?
http://www.mail-archive.com/dovecot@dovecot.org/msg11289.html
For users of vpopmail this feature (disable imap from localhost) is very useful, especially since courier-authlib no longer supports vpopmail natively.
You may investigate a few minutes on this problem?
Many thanks
Alessio Cecchi is: @ ILS -> http://www.linux.it/~alessice/ Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/ @ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it @ LOLUG -> neo-Socio http://www.lolug.net
On Tue, 2008-07-22 at 11:24 +0200, Alessio Cecchi wrote:
have you read this thread on vpopmail?
http://www.mail-archive.com/dovecot@dovecot.org/msg11289.html
This talks about vchkpw instead of the direct vpopmail library support. Which one do you want to use?
Anyway implemented this for checkpassword: http://hg.dovecot.org/dovecot-1.1/rev/5c9057eaac56
participants (6)
-
Alessio Cecchi
-
Anders
-
Arkadiusz Miskiewicz
-
Chris Wakelin
-
Thomas Zajic
-
Timo Sirainen