http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz.sig Quite a lot of changes, so here's a release candidate first. If no problems are reported I'll make v2.2.17 release early next week. Please test especially non-Linux systems as there are some larger configure/Makefile changes done since v2.2.16. * Dovecot no longer checks or warns if a mountpoint is removed. This was causing more trouble than it was worth. Make sure that all the mountpoints that Dovecot accesses aren't writable by mail processes when they're unmounted. * dict server wasn't properly escaping/unescaping data. Fixing this broke backwards compatibility with data that contains line feeds. This hopefully affects only very few installations. If you're using dict to save multiline data (Sieve scripts to SQL), you may be affected. * imap: SPECIAL-USE capability is no longer advertised if there are no special_use flags specified for any mailboxes. + lmtp: Added lmtp_hdr_delivery_address setting to specify whether to include email address in Delivered-To: and Received: headers. + Added initial version of full text search library, which includes language-specific text normalization and filtering. This is still in development, but it's already possible to use for testing with fts-lucene and fts-solr. + lda, lmtp: deliver_log_format can now include %{delivery_time}, which expands to how many milliseconds it took to deliver the mail. With LMTP %{session_time} also expands to how many milliseconds the LMTP session took, not including the delivery time. + lmtp proxy: Mail delivery logging includes timing information. + imap: Most IMAP commands now include in the tagged reply how many milliseconds it took to run the command (not counting the time spent on waiting for the IMAP client to read/write data). + director: Implemented director_proxy_maybe passdb extra field to be able to run director and backend in the same Dovecot instance. (LMTP doesn't support mixed proxy/non-proxy destinations currently.) + doveadm: Added -F <file> parameter to read a list of users from the given file and run the command for all the users. This is similar to -A parameter reading the list of users from userdb lookup. - auth: If auth_master_user_separator was set, auth process could be crashed by trying to log in with empty master username. - imap-login, pop3-login: Fixed crash on handshake failures with new OpenSSL versions (v1.0.2) when SSLv3 was disabled. - auth: If one passdb fails allow_nets check, it shouldn't have failed all the other passdb checks later on. - imap: Server METADATA couldn't be accessed - imapc: Fixed \Muted label handling in gmail-migration. - imapc: Various bugfixes and improvements. - Trash plugin fixes by Alexei Gradinari - mbox: Fixed crash/corruption in some situations when the first mail was expunged.
Compiled successfully on FreeBSD-{8.4|9.3|10.1}. Running also on those and watching|listening for any complains. Although on one of the 8.4, I have seen so many IMAP process started. I hope this is some uses connecting via IMAP. I have never seen that before. root at gw:/usr/home/wash/Tools/Dovecot/2.2/dovecot-2.2.17.rc1 # ps ax | grep dove 47491 ?? I 0:00.00 supervise dovecot 47498 ?? S 0:00.13 /opt/dovecot2.2/sbin/dovecot -F -c /opt/dovecot2.2/etc/dovecot/dovecot.conf 47501 ?? I 0:00.01 /usr/local/bin/multilog t s1000000 n20 /var/log/dovecot/ 47509 ?? S 0:00.02 dovecot/anvil 47510 ?? S 0:00.02 dovecot/log 47570 ?? I 0:00.02 dovecot/imap 47571 ?? I 0:00.01 dovecot/imap 47572 ?? S 0:00.01 dovecot/imap 47573 ?? I 0:00.02 dovecot/imap 47574 ?? S 0:00.02 dovecot/imap 47575 ?? S 0:00.01 dovecot/imap 47576 ?? I 0:00.02 dovecot/imap 47577 ?? I 0:00.02 dovecot/imap 47578 ?? S 0:00.01 dovecot/imap 47579 ?? S 0:00.01 dovecot/imap 47580 ?? S 0:00.02 dovecot/imap 47581 ?? S 0:00.01 dovecot/imap 47584 ?? I 0:00.01 dovecot/imap 47587 ?? I 0:00.01 dovecot/imap 47591 ?? I 0:00.02 dovecot/imap 47594 ?? I 0:00.02 dovecot/imap 47597 ?? S 0:00.02 dovecot/imap 47598 ?? S 0:00.02 dovecot/imap 47600 ?? S 0:00.01 dovecot/imap 47601 ?? S 0:00.02 dovecot/imap 47848 ?? S 0:00.04 dovecot/config 47849 ?? S 0:00.03 dovecot/auth 47879 ?? I 0:00.00 dovecot/ssl-params 47908 ?? I 0:00.01 dovecot/pop3-login 48012 ?? I 0:00.01 dovecot/pop3-login 48057 ?? S 0:00.03 dovecot/auth -w 48087 0 S+ 0:00.00 grep dove root at gw:/usr/home/wash/Tools/Dovecot/2.2/dovecot-2.2.17.rc1 # On 9 May 2015 at 20:41, Timo Sirainen <tss at iki.fi> wrote:> http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz > http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz.sig > > Quite a lot of changes, so here's a release candidate first. If no > problems are reported I'll make v2.2.17 release early next week. Please > test especially non-Linux systems as there are some larger > configure/Makefile changes done since v2.2.16. > > * Dovecot no longer checks or warns if a mountpoint is removed. > This > was causing more trouble than it was worth. Make sure that all > the > mountpoints that Dovecot accesses aren't writable by mail > processes > when they're unmounted. > * dict server wasn't properly escaping/unescaping data. Fixing this > broke backwards compatibility with data that contains line feeds. > This hopefully affects only very few installations. If you're > using > dict to save multiline data (Sieve scripts to SQL), you may be > affected. > * imap: SPECIAL-USE capability is no longer advertised if there are > no special_use flags specified for any mailboxes. > > + lmtp: Added lmtp_hdr_delivery_address setting to specify whether > to include email address in Delivered-To: and Received: headers. > + Added initial version of full text search library, which includes > language-specific text normalization and filtering. This is still > in development, but it's already possible to use for testing with > fts-lucene and fts-solr. > + lda, lmtp: deliver_log_format can now include %{delivery_time}, > which expands to how many milliseconds it took to deliver the > mail. > With LMTP %{session_time} also expands to how many milliseconds > the > LMTP session took, not including the delivery time. > + lmtp proxy: Mail delivery logging includes timing information. > + imap: Most IMAP commands now include in the tagged reply how many > milliseconds it took to run the command (not counting the time > spent > on waiting for the IMAP client to read/write data). > + director: Implemented director_proxy_maybe passdb extra field to > be able to run director and backend in the same Dovecot instance. > (LMTP doesn't support mixed proxy/non-proxy destinations > currently.) > + doveadm: Added -F <file> parameter to read a list of users from > the > given file and run the command for all the users. This is > similar to > -A parameter reading the list of users from userdb lookup. > - auth: If auth_master_user_separator was set, auth process could > be > crashed by trying to log in with empty master username. > - imap-login, pop3-login: Fixed crash on handshake failures with > new > OpenSSL versions (v1.0.2) when SSLv3 was disabled. > - auth: If one passdb fails allow_nets check, it shouldn't have > failed > all the other passdb checks later on. > - imap: Server METADATA couldn't be accessed > - imapc: Fixed \Muted label handling in gmail-migration. > - imapc: Various bugfixes and improvements. > - Trash plugin fixes by Alexei Gradinari > - mbox: Fixed crash/corruption in some situations when the first > mail > was expunged. >-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 "I can't hear you -- I'm using the scrambler."
Hi ? Timo Sirainen <tss at iki.fi> wrote:> Please test especially non-Linux systems as there are some larger configure/Makefile changes done since v2.2.16.2.2.17.rc1 will compile on FBSD 10.1 only, if bash has been installed (see <554773D2.9060609 at dovecot.fi> from Teemu Huovila). This is from my point of view regarding portability issues "suboptimal". Both, word-break-data.sh and word-boundary-data.sh have comments about preferable use awk, perl, or ? instead, IIRC. Teemu himself already mentioned in <554773D2.9060609 at dovecot.fi> that this is suboptimal, and that he is willing to solve that issue, thus, I am extremely far from blaming anyone involved in making this great software available. But, maybe it's worth solving this issue for those non-linux systems without bash installed per default before releasing dovecot v2.2.17, finally. Besides that: Thanks for all of you involved making dovecot available! Regards, Michael
On Sat, 9 May 2015 22:17:27 +0200, Michael Grimm stated:>Hi ? > >Timo Sirainen <tss at iki.fi> wrote: > >> Please test especially non-Linux systems as there are some larger >> configure/Makefile changes done since v2.2.16. > >2.2.17.rc1 will compile on FBSD 10.1 only, if bash has been installed (see ><554773D2.9060609 at dovecot.fi> from Teemu Huovila). This is from my point of >view regarding portability issues "suboptimal". Both, word-break-data.sh and >word-boundary-data.sh have comments about preferable use awk, perl, or ? >instead, IIRC. Teemu himself already mentioned in ><554773D2.9060609 at dovecot.fi> that this is suboptimal, and that he is >willing to solve that issue, thus, I am extremely far from blaming anyone >involved in making this great software available. But, maybe it's worth >solving this issue for those non-linux systems without bash installed per >default before releasing dovecot v2.2.17, finally. > >Besides that: Thanks for all of you involved making dovecot available! > >Regards, >Michael >For what its worth, I run FreeBSD 10.1 and I have Bash. Personally, I could not work without it. It is not a big deal to install it on FreeBSD. My question is does it have to be the default shell in dovecot v2.2.17 or just installed? -- Jerry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 473 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150509/95c71029/attachment.sig>
I'm now seeing these crashes in the indexing code: May 10 12:22:32 tornado.reub.net dovecot: master: Dovecot v2.2.17.rc1 (3903badc4ee0+) starting up for imap, lmtp, sieve ... May 10 13:07:50 tornado.reub.net dovecot: indexer: Error: Indexer worker disconnected, discarding 1 requests for reuben May 10 13:07:50 tornado.reub.net dovecot: indexer-worker(reuben): Fatal: master: service(indexer-worker): child 18532 killed with signal 11 (core not dumped) Every time a delivery happens or mail is moved the indexer crashes out. It doesn't seem to have any visible end user impact though. How do I go about debugging this further? How do I go about getting a backtrace on what is essentially a child process that doesn't produce a core? (Note that my installation normally does produce cores when it crashes, so there's something different about these indexer processes..) Reuben On 10/05/2015 3:41 AM, Timo Sirainen wrote:> http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz > http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz.sig
> Michael Grimm <trashcan at odo.in-berlin.de> kirjoitti 9.5.2015 kello 23.17: > > Hi ? > > Timo Sirainen <tss at iki.fi> wrote: > >> Please test especially non-Linux systems as there are some larger configure/Makefile changes done since v2.2.16. > > 2.2.17.rc1 will compile on FBSD 10.1 only, if bash has been installedDovecot hg requires bash currently, but the rc1 tarball should compile even without bash because the generated files are included in the tarball. Or should at least..
On 10 May 2015, at 06:19, Reuben Farrelly <reuben-dovecot at reub.net> wrote:> > I'm now seeing these crashes in the indexing code: > > May 10 12:22:32 tornado.reub.net dovecot: master: Dovecot v2.2.17.rc1 (3903badc4ee0+) starting up for imap, lmtp, sieve > ... > May 10 13:07:50 tornado.reub.net dovecot: indexer: Error: Indexer worker disconnected, discarding 1 requests for reuben > May 10 13:07:50 tornado.reub.net dovecot: indexer-worker(reuben): Fatal: master: service(indexer-worker): child 18532 killed with signal 11 (core not dumped) > > Every time a delivery happens or mail is moved the indexer crashes out. It doesn't seem to have any visible end user impact though.What's your current doveconf -n output? I did a quick test with fts-lucene and it was working.> How do I go about debugging this further? How do I go about getting a backtrace on what is essentially a child process that doesn't produce a core? (Note that my installation normally does produce cores when it crashes, so there's something different about these indexer processes..)One thing that often works is: mkdir /var/core; chmod 0777 /var/core echo "/var/core/%p" > /proc/sys/kernel/core_pattern If that doesn't help, you can also try: sysctl -w fs.suid_dumpable=2 (and disable afterwards) Also if you can get indexer-worker to start without crashing (new mail delivery works?) you can attach gdb into it and wait for it to crash (gdb -p <indexer-worker pid>, cont).
On May 9, 2015, at 10:41 AM, Timo Sirainen <tss at iki.fi> wrote:> http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz > http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz.sig > > Quite a lot of changes, so here's a release candidate first. If no problems are reported I'll make v2.2.17 release early next week. Please test especially non-Linux systems as there are some larger configure/Makefile changes done since v2.2.16.Between dovecot-2.2.17rc1 and 69630e6048fd a build issue on OS X/MacPorts appears to be gone. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: Message signed with OpenPGP using GPGMail URL: <http://dovecot.org/pipermail/dovecot/attachments/20150510/a9e04d4e/attachment.sig>
On Sat, May 09, 2015 at 08:41:23PM +0300, Timo Sirainen wrote:> - mbox: Fixed crash/corruption in some situations when the first mail > was expunged.Not really fixed. Please see my previous email.
* Timo Sirainen <tss at iki.fi> 2015.05.09 19:41:> + lda, lmtp: deliver_log_format can now include %{delivery_time}, > which expands to how many milliseconds it took to deliver the mail. > With LMTP %{session_time} also expands to how many milliseconds the > LMTP session took, not including the delivery time.This could use some nicer defaults similar to Postfix logging e.g. deliver_log_format = msgid=%m, time=%{delivery_time}ms, status=%$ May 11 18:25:29 nihlus dovecot: lmtp(tlx at leuxner.net): CupIHNrXUFXUTAAAgUOSbA: sieve: msgid=<5550D7CB.70909 at comstyle.com>, time=133ms, status=stored mail into mailbox 'Public/Mailing-Lists/Dovecot' -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150511/2154b834/attachment.sig>
On 5/9/2015 10:41 AM, Timo Sirainen wrote:> http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz > http://dovecot.org/releases/2.2/rc/dovecot-2.2.17.rc1.tar.gz.sig > > Quite a lot of changes, so here's a release candidate first. If no problems are reported I'll make v2.2.17 release early next week. Please test especially non-Linux systems as there are some larger configure/Makefile changes done since v2.2.16. >Hi Timo, I tried building on Solaris 10 and get an error: libtool: link: /opt/SUNWspro/bin/cc -G -z defs -h libfs_compress.so -o .libs/libfs_compress.so .libs/fs-compress.o -R/home/jgoerzen/opencsw/dovecot/trunk/work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.17.rc1/src/lib-compression/.libs -R/opt/csw/lib/dovecot -L/opt/csw/lib ../../lib-compression/.libs/libdovecot-compression.so -L/home/jgoerzen/opencsw/dovecot/trunk/work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.17.rc1/src/lib-dovecot/.libs -lrt -lnsl -lsocket -lsendfile -lc -m32 -xarch=pentium_pro -m32 -xarch=pentium_pro Undefined first referenced symbol in file iostream_temp_finish .libs/fs-compress.o (symbol belongs to implicit dependency /home/jgoerzen/opencsw/dovecot/trunk/work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.17.rc1/src/lib-dovecot/.libs/libdovecot.so.0) fs_write_stream .libs/fs-compress.o (symbol belongs to implicit dependency /home/jgoerzen/opencsw/dovecot/trunk/work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.17.rc1/src/lib-dovecot/.libs/libdovecot.so.0) fs_set_error .libs/fs-compress.o (symbol belongs to implicit dependency /home/jgoerzen/opencsw/dovecot/trunk/work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.17.rc1/src/lib-dovecot/.libs/libdovecot.so.0) o_stream_destroy .libs/fs-compress.o (symbol belongs to implicit dependency /home/jgoerzen/opencsw/dovecot/trunk/work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.17.rc1/src/lib-dovecot/.libs/libdovecot.so.0) fs_write_stream_finish .libs/fs-compress.o (symbol belongs to implicit dependency /home/jgoerzen/opencsw/dovecot/trunk/work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.17.rc1/src/lib-dovecot/.libs/libdovecot.so.0) fs_write_via_stream .libs/fs-compress.o (symbol belongs to implicit dependency /home/jgoerzen/opencsw/dovecot/trunk/work/solaris10-i386/build-isa-pentium_pro/dovecot-2.2.17.rc1/src/lib-dovecot/.libs/libdovecot.so.0)