[Dovecot] 0.99.12 released
One change since -rc1 (the last one below).
- Fix memory leaks in LDAP, MySQL and PGSQL userdb/passdb
- Fix hanging when parsing mails that have over 4096 bytes in one
line (SMTP servers normally don't allow over 1000 bytes so it
shouldn't be much of a problem)
- FETCH BODYSTRUCTURE sometimes gave a wrong reply
(eg. with FETCH (BODYSTRUCTURE RFC822.SIZE) if it wasn't cached)
- Never return more than one INBOX in LIST even if there are such
files. They don't work anyway and it just confuses clients.
- mbox: Don't allow creating INBOX directory by creating/renaming
mailboxes under it. They just wouldn't work.
- POP3: Don't return PLAIN in SASL list. We don't support initial SASL
responses, so it only breaks with most clients that try to use it.
- IMAP and POP3 login processes may have sent each line in two IP
packets, one with the data and another with CR+LF. Some clients
didn't work because of this.
Timo Sirainen wrote:
One change since -rc1 (the last one below).
- Fix memory leaks in LDAP, MySQL and PGSQL userdb/passdb - Fix hanging when parsing mails that have over 4096 bytes in one line (SMTP servers normally don't allow over 1000 bytes so it shouldn't be much of a problem) - FETCH BODYSTRUCTURE sometimes gave a wrong reply (eg. with FETCH (BODYSTRUCTURE RFC822.SIZE) if it wasn't cached) - Never return more than one INBOX in LIST even if there are such files. They don't work anyway and it just confuses clients. - mbox: Don't allow creating INBOX directory by creating/renaming mailboxes under it. They just wouldn't work. - POP3: Don't return PLAIN in SASL list. We don't support initial SASL responses, so it only breaks with most clients that try to use it. - IMAP and POP3 login processes may have sent each line in two IP packets, one with the data and another with CR+LF. Some clients didn't work because of this.
On NetBSD 2.0, I get
[hf@bounce] ~/src/dovecot-0.99.12 > make
make all-recursive
Making all in src
Making all in lib
gcc -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c
alarm-hup.c
In file included from lib.h:20,
from alarm-hup.c:26:
compat.h:17:4: #error uoff_t size not set
In file included from compat.h:63,
from lib.h:20,
from alarm-hup.c:26:
/usr/include/sys/socket.h:83: error: conflicting types for socklen_t' compat.h:37: error: previous declaration of
socklen_t'
In file included from lib.h:20,
from alarm-hup.c:26:
compat.h:85: error: redefinition of `struct iovec'
*** Error code 1
Stop. make: stopped in /home/hf/src/dovecot-0.99.12/src/lib *** Error code 1
The config.log is at http://www.spg.tu-darmstadt.de/~hf/dovecot-0.99.12-config.log.gz .
hauke
-- /~\ The ASCII Ribbon Campaign Hauke Fath \ / No HTML/RTF in email Institut für Nachrichtentechnik X No Word docs in email TU Darmstadt / \ Respect for open standards Ruf +49-6151-16-3281
What's the best version of dovecot to be using in a production environment? Which version is considered the most stable? The latest build 0.99.12 ?
Are there any issues I thoud be aware of with regard to using dovecot 0.99.12 as a POP server in addition to IMAP ? My mailstore is in Maildir format.
Thanks,
Paul
On 6.12.2004, at 12:42, Paul Reilly wrote:
What's the best version of dovecot to be using in a production environment? Which version is considered the most stable? The latest build 0.99.12 ?
0.99.12 is "stable", but if you happen to hit any strange bugs they're not likely to get fixed anymore. I'm focusing only on 1.0-tests, but they aren't ready for production use yet.
Are there any issues I thoud be aware of with regard to using dovecot 0.99.12 as a POP server in addition to IMAP ? My mailstore is in Maildir format.
I guess 0.99.12 works pretty well as POP server now that I removed the AUTH=PLAIN from capabilities, so Eudora should work with it again..
Thanks Timo,
0.99.12 is "stable", but if you happen to hit any strange bugs they're not likely to get fixed anymore. I'm focusing only on 1.0-tests, but they aren't ready for production use yet.
OK. 1.0 is targetted for release around Spring 2005, is that right? Will upgrading from 0.99.12 be easy or will all index need to be deleted and regenerated?
I presume the POP server part doesn't use the indexes, as thats mostly for IMAP performance?
I guess 0.99.12 works pretty well as POP server now that I removed the AUTH=PLAIN from capabilities, so Eudora should work with it again..
OK. That's good to know.
Thanks, Paul
On 8.12.2004, at 00:33, Paul Reilly wrote:
1.0 is targetted for release around Spring 2005, is that right?
Hopefully.
Will upgrading from 0.99.12 be easy or will all index need to be deleted and regenerated?
Configuration file has had a lot of changes, so you'll have to do that again. 1.0-tests use differently named index files so you'll just have to delete the old ones. Maybe I'll make that automatic as well.
I presume the POP server part doesn't use the indexes, as thats mostly for IMAP performance?
POP3 needs to know sizes of messages and those are stored in indexes. Otherwise it'd have to read though all the mails to find out the sizes and that's slow.
On Wed, Dec 08, 2004 at 11:02:23PM +0200, Timo Sirainen wrote:
Configuration file has had a lot of changes, so you'll have to do that again. 1.0-tests use differently named index files so you'll just have to delete the old ones. Maybe I'll make that automatic as well.
Perhaps a configuration option to seek out and destroy old dovecot control files on login; an option which could eventually be phased out or turned off.
or some generic login-hook.
mm
Hauke Fath wrote:
On NetBSD 2.0, I get
[hf@bounce] ~/src/dovecot-0.99.12 > make make all-recursive Making all in src Making all in lib gcc -g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast -c alarm-hup.c In file included from lib.h:20, from alarm-hup.c:26: compat.h:17:4: #error uoff_t size not set In file included from compat.h:63, from lib.h:20, from alarm-hup.c:26: /usr/include/sys/socket.h:83: error: conflicting types for
socklen_t' compat.h:37: error: previous declaration of
socklen_t' In file included from lib.h:20, from alarm-hup.c:26: compat.h:85: error: redefinition of `struct iovec' *** Error code 1Stop. make: stopped in /home/hf/src/dovecot-0.99.12/src/lib *** Error code 1
The config.log is at http://www.spg.tu-darmstadt.de/~hf/dovecot-0.99.12-config.log.gz .
It seems that this is due to a GNU make-ism introduced at line 289 of src/lib/Makefile.in:
-include $(DEP_FILES)
Either use gmake, or hope that Timo (or someone else) produces a patch to work with BSD make once again :)
Robin
Robin Breathe wrote:
Hauke Fath wrote:
The config.log is at http://www.spg.tu-darmstadt.de/~hf/dovecot-0.99.12-config.log.gz .
It seems that this is due to a GNU make-ism introduced at line 289 of src/lib/Makefile.in:
-include $(DEP_FILES)
Ah, autoconf. Got to love it.
Either use gmake, or hope that Timo (or someone else) produces a patch to work with BSD make once again :)
The latter would be nice, since 0.99.11 as well as the 1.0-test* versions build fine with BSD make.
hauke
-- /~\ The ASCII Ribbon Campaign Hauke Fath \ / No HTML/RTF in email Institut für Nachrichtentechnik X No Word docs in email TU Darmstadt / \ Respect for open standards Ruf +49-6151-16-3281
participants (5)
-
Hauke Fath
-
Mark E. Mallett
-
Paul Reilly
-
Robin Breathe
-
Timo Sirainen