[Dovecot] v2.0.4 released
http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz.sig
multi-dbox users: Be careful about the INDEX change.
Maildir users: I hope v2.0 is now finally stable.
* multi-dbox: If :INDEX=path is specified, keep
storage/dovecot.map.index* files also in the index path rather than
in the main storage directory.
WARNING: if you specified :INDEX= with earlier mdbox installation,
you must now manually move the storage indexes to the expected
directory! Otherwise Dovecot won't see them and will rebuild the
indexes, possibly unexpunging some mails.
- Maildir: Copying messages with hard links sometimes caused the
source maildir's entire tmp/ directory to be renamed to destination
maildir as if it were a message.
- Maildir: v2.0.3 broke expunging copied messages sometimes
- Maildir: INBOX whose tmp/ directory was lost couldn't be opened
- single-dbox: Messages weren't copied with hard links
- vpopmail support is hopefully working again.
- dsync: POP3 UIDLs weren't copied with Maildir
- dict file: Fixed fd leak (showed up easily with LMTP + quota)
On 09/26/2010 07:55 PM, Timo Sirainen wrote:
http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz.sig
multi-dbox users: Be careful about the INDEX change.
Hello,
I upgraded from 2.0.2 this morning and now all the mails which were compressed using zlib plugin are not readable anymore. Also, new mails are not stored compressed anymore either. This is on OpenBSD amd64, and I am using sdbox.
Best Regards
On Mon, 2010-09-27 at 14:13 +0200, Renaud Allard wrote:
I upgraded from 2.0.2 this morning and now all the mails which were compressed using zlib plugin are not readable anymore. Also, new mails are not stored compressed anymore either. This is on OpenBSD amd64, and I am using sdbox.
Whops. This fixes it: http://hg.dovecot.org/dovecot-2.0/rev/c359ee549df7
(and also making sure it won't happen again: http://hg.dovecot.org/dovecot-2.0/rev/a3c8026d0305)
Hi Timo,
i couldnt compile 2.0.4 anymore after applying the 2 proposed
patches. Without them, 2.0.4 builds just fine.
./configure was issued AFTER the patches were applied
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
INSTALL_DATA="install -c -p -m644" --with-mysql --with-sql=plugin
--with-ssl=openssl --with-notify=inotify --with-zlib --with-bzlib
--with-pic
--without-nss
--without-shadow
--without-gssapi
--without-ldap
--without-vpopmail
--without-pam
--without-bsdauth
--without-sia
--without-ldap
compilation halts on
/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/lib-storage/index -std=gnu99 -g -O2 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2
-I/usr/kerberos/include -MT zlib-plugin.lo -MD -MP -MF
.deps/zlib-plugin.Tpo -c -o zlib-plugin.lo zlib-plugin.c
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/lib-storage/index -std=gnu99
-g -O2 -Wall -W -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast
-Wstrict-aliasing=2 -I/usr/kerberos/include -MT zlib-plugin.lo -MD -MP
-MF .deps/zlib-plugin.Tpo -c zlib-plugin.c -fPIC -DPIC -o
.libs/zlib-plugin.o
mv -f .deps/ostream-zlib.Tpo .deps/ostream-zlib.Plo
In file included from zlib-plugin.c:8:
../../../src/lib-storage/index/dbox-single/sdbox-storage.h:5:26: error:
dbox-storage.h: No such file or directory
In file included from zlib-plugin.c:8:
../../../src/lib-storage/index/dbox-single/sdbox-storage.h:19: error:
field 'storage' has incomplete type
../../../src/lib-storage/index/dbox-single/sdbox-storage.h:37: warning:
'struct dbox_file' declared inside parameter list
../../../src/lib-storage/index/dbox-single/sdbox-storage.h:37: warning:
its scope is only this definition or declaration, which is probably not
what you want
../../../src/lib-storage/index/dbox-single/sdbox-storage.h:37: warning:
'struct dbox_mail' declared inside parameter list
In file included from zlib-plugin.c:9:
../../../src/lib-storage/index/dbox-multi/mdbox-storage.h:5:26: error:
dbox-storage.h: No such file or directory
In file included from zlib-plugin.c:9:
../../../src/lib-storage/index/dbox-multi/mdbox-storage.h:23: error:
field 'storage' has incomplete type
../../../src/lib-storage/index/dbox-multi/mdbox-storage.h:68: warning:
'struct dbox_mail' declared inside parameter list
mv -f .deps/istream-bzlib.Tpo .deps/istream-bzlib.Plo
make[4]: *** [zlib-plugin.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/istream-zlib.Tpo .deps/istream-zlib.Plo
make[4]: Leaving directory
/root/disco-linuxrouter/dovecot2/dovecot-2.0.4/src/plugins/zlib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/root/disco-linuxrouter/dovecot2/dovecot-2.0.4/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
/root/disco-linuxrouter/dovecot2/dovecot-2.0.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/root/disco-linuxrouter/dovecot2/dovecot-2.0.4'
make: *** [all] Error 2
[root@ns2 dovecot-2.0.4]#
Em 27/09/2010 09:46, Timo Sirainen escreveu:
Whops. This fixes it: http://hg.dovecot.org/dovecot-2.0/rev/c359ee549df7
(and also making sure it won't happen again: http://hg.dovecot.org/dovecot-2.0/rev/a3c8026d0305)
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it
On Mon, 2010-09-27 at 12:32 -0300, Leonardo Rodrigues wrote:
Hi Timo,
i couldnt compile 2.0.4 anymore after applying the 2 proposed
patches. Without them, 2.0.4 builds just fine.
Apply only the first patch, that's enough.
./configure was issued AFTER the patches were applied
If you applied the second one, you'd have to run autogen.sh again (which requires more stuff to exist on your server and may not work).
Em 27/09/2010 12:37, Timo Sirainen escreveu:
On Mon, 2010-09-27 at 12:32 -0300, Leonardo Rodrigues wrote:
Hi Timo,
i couldnt compile 2.0.4 anymore after applying the 2 proposed
patches. Without them, 2.0.4 builds just fine. Apply only the first patch, that's enough.
yes it compiled fine with the first patch only. Thanks !
--
Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br
Minha armadilha de SPAM, NÃO mandem email
gertrudes@solutti.com.br
My SPAMTRAP, do not email it
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/27/2010 08:46 AM, Timo Sirainen wrote:
On Mon, 2010-09-27 at 14:13 +0200, Renaud Allard wrote:
I upgraded from 2.0.2 this morning and now all the mails which were compressed using zlib plugin are not readable anymore. Also, new mails are not stored compressed anymore either. This is on OpenBSD amd64, and I am using sdbox.
Whops. This fixes it: http://hg.dovecot.org/dovecot-2.0/rev/c359ee549df7
(and also making sure it won't happen again: http://hg.dovecot.org/dovecot-2.0/rev/a3c8026d0305)
Was 2.0.4 re-released with this patch, or do we have to add it ourselves?
Jason 'XenoPhage' Frisvold xenophage@godshell.com
"Any sufficiently advanced magic is indistinguishable from technology."
- Niven's Inverse of Clarke's Third Law -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
iEYEARECAAYFAkyiRKgACgkQ8CjzPZyTUTSmywCfWFzmtZc9j+o2jMsfjHuEUcGq UVcAni7S6nWBusAg/E164HqrMdsPxJJu =svGl -----END PGP SIGNATURE-----
On Tue, Sep 28, 2010 at 10:40 PM, Jason 'XenoPhage' Frisvold < xenophage@godshell.com> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/27/2010 08:46 AM, Timo Sirainen wrote:
On Mon, 2010-09-27 at 14:13 +0200, Renaud Allard wrote:
I upgraded from 2.0.2 this morning and now all the mails which were compressed using zlib plugin are not readable anymore. Also, new mails are not stored compressed anymore either. This is on OpenBSD amd64, and I am using sdbox.
Whops. This fixes it: http://hg.dovecot.org/dovecot-2.0/rev/c359ee549df7
(and also making sure it won't happen again: http://hg.dovecot.org/dovecot-2.0/rev/a3c8026d0305)
Was 2.0.4 re-released with this patch, or do we have to add it ourselves?
We have to add it ourselves:)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
"If you have nothing good to say about someone, just shut up!." -- Lucky Dube
Le mardi 28 septembre 2010 21:40, Jason 'XenoPhage' Frisvold a écrit :
On 09/27/2010 08:46 AM, Timo Sirainen wrote:
On Mon, 2010-09-27 at 14:13 +0200, Renaud Allard wrote:
I upgraded from 2.0.2 this morning and now all the mails which were compressed using zlib plugin are not readable anymore. Also, new mails are not stored compressed anymore either. This is on OpenBSD amd64, and I am using sdbox.
Whops. This fixes it: http://hg.dovecot.org/dovecot-2.0/rev/c359ee549df7
(and also making sure it won't happen again: http://hg.dovecot.org/dovecot-2.0/rev/a3c8026d0305)
Was 2.0.4 re-released with this patch, or do we have to add it ourselves?
it is the sure ?
I invent. the difficulties and joy <anonymous>
-- gpg --keyserver pgp.mit.edu --recv-key 092164A7
On Sun, Sep 26, 2010 at 8:55 PM, Timo Sirainen <tss@iki.fi> wrote:
http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz.sig
multi-dbox users: Be careful about the INDEX change.
Maildir users: I hope v2.0 is now finally stable.
Just upgraded to this version from 2.0.1 and get this:
Sep 28 15:15:34 master: Info: Dovecot v2.0.4 starting up Sep 28 15:15:37 auth: Info: mysql: Connected to localhost (vexim) Sep 28 15:15:37 imap-login: Info: Login: user=<johndoe@domain.name>, method=PLAIN, rip=68.171.238.44, lip=41.215.34.70, mpid=97783 Sep 28 15:15:37 master: Error: service(imap): child 97783 killed with signal 11 (core not dumped - set service imap { drop_priv_before_exec=yes } )
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
"If you have nothing good to say about someone, just shut up!." -- Lucky Dube
On Tue, 2010-09-28 at 15:17 +0300, Odhiambo Washington wrote:
Just upgraded to this version from 2.0.1 and get this:
Sep 28 15:15:34 master: Info: Dovecot v2.0.4 starting up Sep 28 15:15:37 auth: Info: mysql: Connected to localhost (vexim) Sep 28 15:15:37 imap-login: Info: Login: user=<johndoe@domain.name>, method=PLAIN, rip=68.171.238.44, lip=41.215.34.70, mpid=97783 Sep 28 15:15:37 master: Error: service(imap): child 97783 killed with signal 11 (core not dumped - set service imap { drop_priv_before_exec=yes } )
doveconf -n output?
Can you get a gdb backtrace? Looks like you're not using Linux, so it can get a bit tricky. http://dovecot.org/bugreport.html may give hints..
On Tue, Sep 28, 2010 at 6:08 PM, Timo Sirainen <tss@iki.fi> wrote:
On Tue, 2010-09-28 at 15:17 +0300, Odhiambo Washington wrote:
Just upgraded to this version from 2.0.1 and get this:
Sep 28 15:15:34 master: Info: Dovecot v2.0.4 starting up Sep 28 15:15:37 auth: Info: mysql: Connected to localhost (vexim) Sep 28 15:15:37 imap-login: Info: Login: user=<johndoe@domain.name>, method=PLAIN, rip=68.171.238.44, lip=41.215.34.70, mpid=97783 Sep 28 15:15:37 master: Error: service(imap): child 97783 killed with signal 11 (core not dumped - set service imap { drop_priv_before_exec=yes } )
doveconf -n output?
# /opt/dovecot2/bin/doveconf -n # 2.0.1: /opt/dovecot2/etc/dovecot/dovecot.conf # OS: FreeBSD 7.3-STABLE i386 ufs auth_cache_negative_ttl = 86400 s auth_cache_size = 10485760 auth_mechanisms = plain digest-md5 auth_socket_path = /opt/dovecot2/var/run/auth-userdb auth_verbose = yes base_dir = /opt/dovecot2/var/run/ default_login_user = dovecot disable_plaintext_auth = no first_valid_gid = 26 first_valid_uid = 26 log_path = /opt/dovecot2/var/log/dovecot.log login_greeting = Dovecot-2.0 ready. mail_access_groups = mailnull mail_location = maildir:/var/spool/virtual/%d/%n/Maildir mail_privileged_group = mailnull passdb { args = /opt/dovecot2/etc/dovecot/dovecot-sql.conf driver = sql } postmaster_address = postmaster@thisuglytest.name service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } service_count = 1 } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 } } ssl_cert = </etc/ssl/dovecot/cert.pem ssl_key = </etc/ssl/dovecot/key.pem userdb { args = /opt/dovecot2/etc/dovecot/dovecot-sql.conf driver = sql } protocol imap { imap_client_workarounds = delay-newmail tb-extra-mailbox-sep mail_plugins = quota } protocol pop3 { mail_plugins = quota pop3_client_workarounds = outlook-no-nuls oe-ns-eoh }
Can you get a gdb backtrace? Looks like you're not using Linux, so it can get a bit tricky. http://dovecot.org/bugreport.html may give hints..
I am using FreeBSD 7.3 on this box. I've followed the instructions and here is the backtrace:
gw# gdb /opt/dovecot2/libexec/dovecot/imap imap.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...
warning: exec file is newer than core file. Core was generated by `imap'. Program terminated with signal 11, Segmentation fault. Reading symbols from /opt/dovecot2/lib/dovecot/libdovecot-storage.so.0...done. Loaded symbols for /opt/dovecot2/lib/dovecot/libdovecot-storage.so.0 Reading symbols from /opt/dovecot2/lib/dovecot/libdovecot.so.0...done. Loaded symbols for /opt/dovecot2/lib/dovecot/libdovecot.so.0 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /opt/dovecot2/lib/dovecot/lib10_quota_plugin.so...done. Loaded symbols for /opt/dovecot2/lib/dovecot/lib10_quota_plugin.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x282ccd73 in quota_get_mail_user_quota (user=0x2834c020) at quota-storage.c:436 436 struct quota_user *quser = QUOTA_USER_CONTEXT(user); (gdb) bt full #0 0x282ccd73 in quota_get_mail_user_quota (user=0x2834c020) at quota-storage.c:436 No locals. #1 0x282ccda5 in quota_mailbox_list_created (list=0x28328820) at quota-storage.c:509 qlist = Variable "qlist" is not available. (gdb) quit gw# gdb /opt/dovecot2/libexec/dovecot/pop3 pop3.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...
warning: exec file is newer than core file. Core was generated by `pop3'. Program terminated with signal 11, Segmentation fault. Reading symbols from /opt/dovecot2/lib/dovecot/libdovecot-storage.so.0...done. Loaded symbols for /opt/dovecot2/lib/dovecot/libdovecot-storage.so.0 Reading symbols from /opt/dovecot2/lib/dovecot/libdovecot.so.0...done. Loaded symbols for /opt/dovecot2/lib/dovecot/libdovecot.so.0 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /opt/dovecot2/lib/dovecot/lib10_quota_plugin.so...done. Loaded symbols for /opt/dovecot2/lib/dovecot/lib10_quota_plugin.so Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x282b8d73 in quota_get_mail_user_quota (user=0x2834c020) at quota-storage.c:436 436 struct quota_user *quser = QUOTA_USER_CONTEXT(user); (gdb) bt full #0 0x282b8d73 in quota_get_mail_user_quota (user=0x2834c020) at quota-storage.c:436 No locals. #1 0x282b8da5 in quota_mailbox_list_created (list=0x28320820) at quota-storage.c:509 qlist = Variable "qlist" is not available. (gdb)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
"If you have nothing good to say about someone, just shut up!." -- Lucky Dube
On Tue, 2010-09-28 at 18:40 +0300, Odhiambo Washington wrote:
#0 0x282b8d73 in quota_get_mail_user_quota (user=0x2834c020) at quota-storage.c:436 436 struct quota_user *quser = QUOTA_USER_CONTEXT(user);
Oh, this error again. It's fixed by http://hg.dovecot.org/dovecot-2.0/rev/e5f0231b7a40
Why are you people loading quota plugin but have quota disabled? :)
On Tue, Sep 28, 2010 at 7:59 PM, Timo Sirainen <tss@iki.fi> wrote:
On Tue, 2010-09-28 at 18:40 +0300, Odhiambo Washington wrote:
#0 0x282b8d73 in quota_get_mail_user_quota (user=0x2834c020) at quota-storage.c:436 436 struct quota_user *quser = QUOTA_USER_CONTEXT(user);
Oh, this error again. It's fixed by http://hg.dovecot.org/dovecot-2.0/rev/e5f0231b7a40
Why are you people loading quota plugin but have quota disabled? :)
Intent.
The intention to use it at some point, or simply play with it. We are "testers", you know! :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
"If you have nothing good to say about someone, just shut up!." -- Lucky Dube
On Tue, Sep 28, 2010 at 8:20 PM, Charles Marcus <CMarcus@media-brokers.com>wrote:
On 2010-09-28 11:40 AM, Odhiambo Washington wrote:
# /opt/dovecot2/bin/doveconf -n # 2.0.1: /opt/dovecot2/etc/dovecot/dovecot.conf
This says you're using 2.0.1, not 2.0.4?
Sure, but I had to run doveconf against 2.0.1 because I had to back off 2.0.4 to let guys continue to get their e-mails. I did this upgrade when users had stepped out for lunch, but some of them were broke and stayed back:-) It was good to do it with a few users "on", because I personally don't use that system actively. Anyway, I rarely think about changing config files between minor versions when nothing regarding config param changes is highlighted in the announcement.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223
"If you have nothing good to say about someone, just shut up!." -- Lucky Dube
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 09/26/2010 12:55 PM, Timo Sirainen wrote:
http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz http://dovecot.org/releases/2.0/dovecot-2.0.4.tar.gz.sig
multi-dbox users: Be careful about the INDEX change.
Maildir users: I hope v2.0 is now finally stable.
multi-dbox: If :INDEX=path is specified, keep storage/dovecot.map.index* files also in the index path rather than in the main storage directory.
WARNING: if you specified :INDEX= with earlier mdbox installation, you must now manually move the storage indexes to the expected directory! Otherwise Dovecot won't see them and will rebuild the indexes, possibly unexpunging some mails.
- Maildir: Copying messages with hard links sometimes caused the source maildir's entire tmp/ directory to be renamed to destination maildir as if it were a message.
- Maildir: v2.0.3 broke expunging copied messages sometimes
- Maildir: INBOX whose tmp/ directory was lost couldn't be opened
- single-dbox: Messages weren't copied with hard links
- vpopmail support is hopefully working again.
I can confirm with vpopmail 5.4 and 5.5.
/* Matt Brookings <matt@inter7.com> GnuPG Key FAE0672C Software developer Systems technician Inter7 Internet Technologies, Inc. (815)776-9465 */ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyiBiMACgkQIwet2/rgZyyl3QCfXlmBSQNqY8xbLIv2XWRh8YJc 0h8AnRrY/wyGRGLNjRQc4ZDINAfyd2S8 =zn5e -----END PGP SIGNATURE-----
participants (8)
-
Charles Marcus
-
fakessh
-
Jason 'XenoPhage' Frisvold
-
Leonardo Rodrigues
-
Matt Brookings
-
Odhiambo Washington
-
Renaud Allard
-
Timo Sirainen