[dovecot/core] 0e6e3c: lib-ssl-iostream: Return stacked errors as single ...

GitHub noreply at github.com
Fri Apr 22 23:00:08 UTC 2016


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

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

  Log Message:
  -----------
  lib-ssl-iostream: Return stacked errors as single combined string.

Instead of logging stacked errors as separate log lines, which don't provide
any context of what created them.


  Commit: 800bb686016278426c18f0d1529cf359ecb5f950
      https://github.com/dovecot/core/commit/800bb686016278426c18f0d1529cf359ecb5f950
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/lib/test-var-expand.c
    M src/lib/var-expand.c

  Log Message:
  -----------
  lib: var_expand() now expands %{nonexistent} to UNSUPPORTED_VARIABLE_nonexistent

Earlier it was expanded to "nonexistent}", which looked more like a bug.
This change hopefully makes it clear enough to understand when a variable isn't
supported.


  Commit: 140afad728d78c56fb4c0256f94eb81a213688db
      https://github.com/dovecot/core/commit/140afad728d78c56fb4c0256f94eb81a213688db
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/lib-fs/Makefile.am
    M src/lib-fs/fs-api-private.h
    M src/lib-fs/fs-api.c
    A src/lib-fs/fs-test.c
    A src/lib-fs/fs-test.h

  Log Message:
  -----------
  lib-fs: Added fs-test backend for helping with creation of fs-wrapper unit tests.


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

  Changed paths:
    M src/lib-fs/Makefile.am
    A src/lib-fs/test-fs-metawrap.c

  Log Message:
  -----------
  lib-fs: Added initial fs-metawrap unit test.


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

  Changed paths:
    M src/lib-fs/fs-metawrap.c

  Log Message:
  -----------
  lib-fs: fs-metawrap stat() and get_metadata(): use existing istream if possible

This may reduce reads from parent fs, but it's at least required for the
following commit.


  Commit: 0ee52dafcc5b25c031e289d1d65ecccc859ebd3c
      https://github.com/dovecot/core/commit/0ee52dafcc5b25c031e289d1d65ecccc859ebd3c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/lib-fs/fs-api-private.h
    M src/lib-fs/fs-api.c

  Log Message:
  -----------
  lib-fs: Assert-crash if file's istream isn't closed at fs_file_close()

Some backends can't guarantee that the istream stays usable after the file
is closed.


  Commit: 34b0579f1542471947564bf56cfcf51946f57313
      https://github.com/dovecot/core/commit/34b0579f1542471947564bf56cfcf51946f57313
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/doveadm/dsync/dsync-brain-mailbox-tree.c
    M src/doveadm/dsync/dsync-mailbox-tree-sync.c
    M src/doveadm/dsync/dsync-mailbox-tree.h

  Log Message:
  -----------
  dsync: Fixed crash when rename algorithm thinks it has gone to infinite loop.

ctx->brain was NULL, so trying to access it crashed.


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

  Changed paths:
    M src/doveadm/dsync/dsync-mailbox-tree-sync.c

  Log Message:
  -----------
  dsync: Determine better when rename-algorithm might have gotten stuck.

A hardcoded value of 100 isn't necessarily enough if there are a lot of
mailboxes with a lot of renames. Base the max count on the total number
of mailboxes on both local and remote. And just in case multiple it by 3.
Probably smaller number would be fine too.


  Commit: 088bfb6b26ee72122f2ed8a632c741b19d8821d7
      https://github.com/dovecot/core/commit/088bfb6b26ee72122f2ed8a632c741b19d8821d7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/doveadm/dsync/dsync-mailbox-tree-sync.c
    M src/doveadm/dsync/test-dsync-mailbox-tree-sync.c

  Log Message:
  -----------
  dsync: Fixed assert-crash in rename algorithm

Fixes a crash:
Panic: file dsync-mailbox-tree-sync.c: line 1308 (sync_mailbox_child_dirs): assertion failed: (!node_is_existent(local_node))


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

  Changed paths:
    M src/lib-mail/message-parser.c
    M src/lib-mail/test-message-parser.c

  Log Message:
  -----------
  lib-mail: Fixed handling duplicate boundary prefixes.

If inner MIME part had the same --boundary prefix as its parent(s) and
the MIME part body started with the inner --boundary prefix, we didn't yet
have it in the list of valid boundaries, so we thought that the outer
boundary was found and the MIME headers were truncated. But due to an extra
bug we still treated it as if it were the inner boundary, except the MIME
part sizes/offsets were set wrong.

This for example fixes a situation where FETCH [1.2.MIME] returns an extra
newline before the actual headers.


  Commit: 6df4a174b4cbdc439ed435a0cdc71d4a0126d54a
      https://github.com/dovecot/core/commit/6df4a174b4cbdc439ed435a0cdc71d4a0126d54a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/lib-mail/message-parser.c
    M src/lib-mail/test-message-parser.c

  Log Message:
  -----------
  lib-mail: Fixed inner MIME part boundary being a prefix of outer boundary.


  Commit: 7195d775e5e943af90d24a615847c733a104e3d4
      https://github.com/dovecot/core/commit/7195d775e5e943af90d24a615847c733a104e3d4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/lib-mail/test-message-parser.c

  Log Message:
  -----------
  lib-mail: Improved test-message-parser further


  Commit: 5a1c6ebe5232f7f15f22616235a085e007ac40c0
      https://github.com/dovecot/core/commit/5a1c6ebe5232f7f15f22616235a085e007ac40c0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/doveadm/doveadm-auth.c

  Log Message:
  -----------
  doveadm user: Code cleanup - move field printing to its own function.

No functional changes.


  Commit: 5e3b05494b117c1c17bda027d39387c2d68d8ea3
      https://github.com/dovecot/core/commit/5e3b05494b117c1c17bda027d39387c2d68d8ea3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-23 (Sat, 23 Apr 2016)

  Changed paths:
    M src/doveadm/doveadm-auth.c

  Log Message:
  -----------
  doveadm user: Added -e <value> parameter to expand %variables in <value>

This allows expanding any %variable that the mail processes normally expand.
For example:

% doveadm user -e "%u's home is %h" testuser at example.com
testuser at example.com's home is /var/mail/testuser at example.com


Compare: https://github.com/dovecot/core/compare/90355e35d113...5e3b05494b11


More information about the dovecot-cvs mailing list