[dovecot/core] b1c741: lazy-expunge: Allow lazy_expunge setting to point ...

GitHub noreply at github.com
Thu Apr 21 18:48:33 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: b1c7419b9238488ba56a47dc8acdc7cb85d65b12
      https://github.com/dovecot/core/commit/b1c7419b9238488ba56a47dc8acdc7cb85d65b12
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-19 (Tue, 19 Apr 2016)

  Changed paths:
    M src/plugins/lazy-expunge/lazy-expunge-plugin.c

  Log Message:
  -----------
  lazy-expunge: Allow lazy_expunge setting to point to a mailbox in any namespace.

This way we can use an existing namespace without having to create a new one
just for a single lazy_expunge mailbox.


  Commit: 31349fd1e282b84d98ca535cce71dc695fb194e0
      https://github.com/dovecot/core/commit/31349fd1e282b84d98ca535cce71dc695fb194e0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-21 (Thu, 21 Apr 2016)

  Changed paths:
    M src/plugins/zlib/zlib-plugin.c

  Log Message:
  -----------
  zlib plugin: Make sure we don't keep mail istream referenced after mail is closed.


  Commit: 06bed4f40e87a0597ef6128dd2c19881df6e9b5c
      https://github.com/dovecot/core/commit/06bed4f40e87a0597ef6128dd2c19881df6e9b5c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-21 (Thu, 21 Apr 2016)

  Changed paths:
    M src/lib-index/mail-cache.c

  Log Message:
  -----------
  lib-index: Fixed calling mail_cache_open_and_verify() on an already open cache.

This was done at least by index_index_rebuild_init().

Either the currently open cache->fd was leaked, or if the cache file open()
failed we left the cache in an inconsistent state where cache->fd == -1, but
cache->hdr != NULL, so it caused MAIL_CACHE_IS_UNUSABLE() to also be TRUE. This
could have ended up in an assert:

Panic: file mail-index-lock.c: line 31 (mail_index_lock_fd): assertion failed: (MAIL_INDEX_IS_IN_MEMORY(index))


  Commit: 61c30c7cd60c9c95b138175a5c8ab702b472399b
      https://github.com/dovecot/core/commit/61c30c7cd60c9c95b138175a5c8ab702b472399b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-21 (Thu, 21 Apr 2016)

  Changed paths:
    M src/lib-index/mail-cache-compress.c
    M src/lib-index/mail-cache.c

  Log Message:
  -----------
  lib-index: If opening a cache file fails, try again later.

The previous code would never retry opening the cache file within the same
session.


  Commit: a6a14c762bca9397cccfcd4ef6c841ea5b1d0dcd
      https://github.com/dovecot/core/commit/a6a14c762bca9397cccfcd4ef6c841ea5b1d0dcd
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-21 (Thu, 21 Apr 2016)

  Changed paths:
    M src/plugins/lazy-expunge/lazy-expunge-plugin.c

  Log Message:
  -----------
  lazy-expunge: Fixed using a mailbox (instead of namespace) as lazy_expunge destination.

The initial implementation in f2d7ae020bda762f78e8e639a69fb129230cbb7d was
completely broken.


  Commit: 7ce6777f7e99cedf81714d21f95ec53c233e253e
      https://github.com/dovecot/core/commit/7ce6777f7e99cedf81714d21f95ec53c233e253e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-21 (Thu, 21 Apr 2016)

  Changed paths:
    M src/plugins/zlib/zlib-plugin.c

  Log Message:
  -----------
  zlib: Compiling fix to a1630a3b3 - don't return a void function


  Commit: 2a9968850577cb9a4c0248960405b6cd2c63ae80
      https://github.com/dovecot/core/commit/2a9968850577cb9a4c0248960405b6cd2c63ae80
  Author: Stephan Bosch <stephan at dovecot.fi>
  Date:   2016-04-21 (Thu, 21 Apr 2016)

  Changed paths:
    M src/lib-http/http-client-request.c
    M src/lib-http/http-client.h

  Log Message:
  -----------
  lib-http: client: Implemented means to set request payload buffer rather than an input stream.

This is not purely a convenience function: there have been bugs caused by allocating a data input stream from a datastack buffer.
With this function, the buffer is copied to the request pool, so that it is durably allocated while the request exists.
This prevents futher mishaps. The server already has an equivalent function for its response object.


  Commit: b9e1531c80039ee75239d31cdad70d430d255974
      https://github.com/dovecot/core/commit/b9e1531c80039ee75239d31cdad70d430d255974
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-21 (Thu, 21 Apr 2016)

  Changed paths:
    M src/lib-ssl-iostream/iostream-openssl-common.c

  Log Message:
  -----------
  lib-ssl-iostream: Fixed reporting errors returned by OpenSSL.

We were always logging all errors as "Stacked error" and then returning
"Unknown error".


Compare: https://github.com/dovecot/core/compare/882807103c79...b9e1531c8003


More information about the dovecot-cvs mailing list