[dovecot/core] 433384: lib: Add file_lock_from_dotlock()

GitHub noreply at github.com
Tue Feb 20 21:30:31 EET 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 433384c3fe3dab2a8669ad2a68e473c5bd2887aa
      https://github.com/dovecot/core/commit/433384c3fe3dab2a8669ad2a68e473c5bd2887aa
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib/file-lock.c
    M src/lib/file-lock.h

  Log Message:
  -----------
  lib: Add file_lock_from_dotlock()

The dotlock creation requires various settings, so the file-lock.h API can't
easily be used to create it. But once created, it's simpler to keep all lock
types in the same struct file_lock, which can be unlocked/freed once
finished.


  Commit: 7fec89dca31410c874951423486ddb619e7292a4
      https://github.com/dovecot/core/commit/7fec89dca31410c874951423486ddb619e7292a4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-storage-private.h
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: Add mail_storage_lock_create()

This is split off of mailbox_lock_file_create().


  Commit: 6501e893286d431804701ad8e175193c677715da
      https://github.com/dovecot/core/commit/6501e893286d431804701ad8e175193c677715da
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-user.c

  Log Message:
  -----------
  lib-storage: Change mail_user_lock_file_create() to use mail_storage_lock_create()


  Commit: ee37361940db3554d902f534d0ba82aeeca4524f
      https://github.com/dovecot/core/commit/ee37361940db3554d902f534d0ba82aeeca4524f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-storage-private.h
    M src/lib-storage/mail-storage.c
    M src/lib-storage/mail-user.c

  Log Message:
  -----------
  lib-storage: mail_storage_lock_create() - add support for dotlocks


  Commit: 12fb8b47bc896f371a182ea741ae6b914d31f68c
      https://github.com/dovecot/core/commit/12fb8b47bc896f371a182ea741ae6b914d31f68c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: mailbox_rename() - Use source storage for errors

It was documented to use source storage for errors, but some of the errors
were set to destination storage.


  Commit: f0f168122529bbf17a77d35f85d468eaf0e61647
      https://github.com/dovecot/core/commit/f0f168122529bbf17a77d35f85d468eaf0e61647
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: mailbox_delete() - Fix cleanup in error handling

If removing index deletion mark failed, box->deleting wasn't set to FALSE
and the mailbox was left opened.


  Commit: 53dea827fcc085cf6af30e7f34073f8628964c06
      https://github.com/dovecot/core/commit/53dea827fcc085cf6af30e7f34073f8628964c06
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib-storage/mailbox-list-private.h
    M src/lib-storage/mailbox-list.c

  Log Message:
  -----------
  lib-storage: Add mailbox_list_[un]lock()


  Commit: e7333ee4aca8cbd866eb2b5a6420a56f0b956ead
      https://github.com/dovecot/core/commit/e7333ee4aca8cbd866eb2b5a6420a56f0b956ead
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

  Changed paths:
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: Lock mailbox_list for mailbox create/delete/rename

This is only required for mailbox creation to fix a race condition with
LAYOUT=index: If INBOX doesn't exist it will rescan the mailboxes to
find out if there are any missing ones. If INBOX creation isn't locked,
it's possible that the first process hasn't finished creating INBOX
before the second process find it and attempts to open it.

The delete and rename locking are probably useful to guard against race
conditions when clients intentionally issues create/delete/rename commands
concurrently.


  Commit: 1c9fbec18344814adb04a1f7b4fea4892b636d6d
      https://github.com/dovecot/core/commit/1c9fbec18344814adb04a1f7b4fea4892b636d6d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-09 (Fri, 09 Feb 2018)

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

  Log Message:
  -----------
  lib-index: Fix assert-crash with lock_method=dotlock

The dotlock wasn't deleted in all code paths. Fix this by simplifying
the unlocking to be done the same way with and without dotlock.

Fixes:
Panic: file mail-cache.c: line 624 (mail_cache_lock_file): assertion failed: (cache->dotlock == NULL)


  Commit: 0e864e7c6393574d4a1b49b28bb27effbd802f2a
      https://github.com/dovecot/core/commit/0e864e7c6393574d4a1b49b28bb27effbd802f2a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M src/lib/restrict-access.h

  Log Message:
  -----------
  lib: Clarify restrict_access_allow_coredumps


  Commit: 8a3c102fa0fbf7d754236a5f120a968a432ab3e1
      https://github.com/dovecot/core/commit/8a3c102fa0fbf7d754236a5f120a968a432ab3e1
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M src/lib/restrict-access.c
    M src/lib/restrict-access.h

  Log Message:
  -----------
  lib: Add restrict_access_get/set_dumpable


  Commit: aad19e05abe1afc75bc7c5f4646b9eee4d791cd3
      https://github.com/dovecot/core/commit/aad19e05abe1afc75bc7c5f4646b9eee4d791cd3
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M src/plugins/stats/mail-stats-fill.c

  Log Message:
  -----------
  old-stats: Set process dumpable during stats gathering

/proc/self/io is not accessible otherwise


  Commit: 6da5beb9c804bba35f88ce605505d76f9dc7a0b9
      https://github.com/dovecot/core/commit/6da5beb9c804bba35f88ce605505d76f9dc7a0b9
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M src/doveadm/client-connection-http.c
    M src/doveadm/client-connection-private.h
    M src/doveadm/client-connection.c
    M src/doveadm/client-connection.h

  Log Message:
  -----------
  doveadm-server: http: Fixed crash occurring when disconnecting a client at server deinit.


  Commit: f0e0f694c5e0800ac75f80c0bc40f08a456c5c72
      https://github.com/dovecot/core/commit/f0e0f694c5e0800ac75f80c0bc40f08a456c5c72
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

  Changed paths:
    M src/doveadm/client-connection-http.c

  Log Message:
  -----------
  doveadm-server: http: Fixed lingering connections after the request is sent.

Turns out conn->http_client is already NULL while doveadm_http_server_connection_destroy() is called.
This is because http_server_connection_unref() sets it to NULL;
Fixed by removing useless HTTP connection reference.


  Commit: 315328a1ce346a8b92cfed2278ac85f586c3c2ad
      https://github.com/dovecot/core/commit/315328a1ce346a8b92cfed2278ac85f586c3c2ad
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

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

  Log Message:
  -----------
  lib-storage: Set mailbox_transaction_context.flags earlier

Set it in index_transaction_init() so plugins' transaction_begin() methods
see it after calling super.transaction_begin().


  Commit: e9d4ca3e8dbdf185f879f26de06306ab49d7cc64
      https://github.com/dovecot/core/commit/e9d4ca3e8dbdf185f879f26de06306ab49d7cc64
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-12 (Mon, 12 Feb 2018)

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

  Log Message:
  -----------
  replication: Don't send notification for changes done by dsync transactions


  Commit: 1715c6c76c0ebdc93f9f4f738e3a582ae2cf5940
      https://github.com/dovecot/core/commit/1715c6c76c0ebdc93f9f4f738e3a582ae2cf5940
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

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

  Log Message:
  -----------
  auth: Use rip instead of real_rip in policy server attributes

real_rip contains proxy IP, not client IP


  Commit: 20439c51ae69b64a3fc59e38b040b58d428ccf2e
      https://github.com/dovecot/core/commit/20439c51ae69b64a3fc59e38b040b58d428ccf2e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M src/auth/auth-policy.c
    M src/auth/auth-settings.c

  Log Message:
  -----------
  auth: Use correct username is auth policy requests

When doing master authentication as first, use
the username of the user, not master user, for policy lookup.


  Commit: ffd9e5f14550a4a62878192c2eef9b4c9b38f737
      https://github.com/dovecot/core/commit/ffd9e5f14550a4a62878192c2eef9b4c9b38f737
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M src/auth/auth-request-handler.c
    M src/auth/auth-request.c
    M src/auth/auth-settings.c
    M src/auth/auth-settings.h

  Log Message:
  -----------
  auth: Add policy check configuration options

Allows disabling before/after auth checks, or reporting.


  Commit: 13062bd818fd4a6a0615e6634852bf1d4c2be378
      https://github.com/dovecot/core/commit/13062bd818fd4a6a0615e6634852bf1d4c2be378
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M src/doveadm/client-connection.c

  Log Message:
  -----------
  doveadm-server: Fix potential hangs with SSL connections


  Commit: 1ae3424ac4f27dbcaaa4a0f11f8a88f2fcfa7d8e
      https://github.com/dovecot/core/commit/1ae3424ac4f27dbcaaa4a0f11f8a88f2fcfa7d8e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M src/lib-imap-client/imapc-connection.c

  Log Message:
  -----------
  lib-imap-client: Fix IO after enabling SSL

io_add_istream() needs to be used with the SSL istream, otherwise it can
cause hangs.


  Commit: 9a099a348508658203da071642109e530adb9f20
      https://github.com/dovecot/core/commit/9a099a348508658203da071642109e530adb9f20
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M src/doveadm/server-connection.c

  Log Message:
  -----------
  doveadm: client: Set IO only after enabling SSL

io_add_istream() needs to be used with the SSL istream, otherwise it can
cause hangs.


  Commit: 0a435cbeb2b62e36b284b80af34cfbf283032dc6
      https://github.com/dovecot/core/commit/0a435cbeb2b62e36b284b80af34cfbf283032dc6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

  Changed paths:
    M src/lib/connection.c
    M src/lib/connection.h

  Log Message:
  -----------
  lib: Add connection_streams_changed()

Originally by Stephan Bosch


  Commit: e504fd5d27eb2a8cd5de5ccd4f54173fc0b8064d
      https://github.com/dovecot/core/commit/e504fd5d27eb2a8cd5de5ccd4f54173fc0b8064d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

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

  Log Message:
  -----------
  lib: Add i_stream_get_root_io() and use it to deduplicate code


  Commit: 79b5d589b0ceb08bd18961bc1803a0923400884b
      https://github.com/dovecot/core/commit/79b5d589b0ceb08bd18961bc1803a0923400884b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-15 (Thu, 15 Feb 2018)

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

  Log Message:
  -----------
  auth: Set correct context type when bypassing reporting in auth_success

Broken in 41ff6e6a4a085786d4c15a58c7c50a28e2110c3f


  Commit: 86ad3e78ea408faf20c51a75b211bea0a3fe14d5
      https://github.com/dovecot/core/commit/86ad3e78ea408faf20c51a75b211bea0a3fe14d5
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M src/lib/connection.c
    M src/lib/connection.h

  Log Message:
  -----------
  lib: connection: Add connection_input_halt() and connection_input_resume().

These are convenience functions that remove and add conn->io respectively.


  Commit: 766f9a95ad703d5d925898a40d49bbe1a000313f
      https://github.com/dovecot/core/commit/766f9a95ad703d5d925898a40d49bbe1a000313f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

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

  Log Message:
  -----------
  lib-ssl-iostream: ostream-openssl: Create local variable for sstream->ssl_io->plain_output in o_stream_ssl_flush().


  Commit: 8d67676e4fcb44b9411937472e1e409eefa58950
      https://github.com/dovecot/core/commit/8d67676e4fcb44b9411937472e1e409eefa58950
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

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

  Log Message:
  -----------
  lib-ssl-iostream: ostream-openssl: Fix behavior of o_stream_flush() so that 1 is only returned when buffer is empty.


  Commit: 52e919e65046986367940407c6adee2a877ff530
      https://github.com/dovecot/core/commit/52e919e65046986367940407c6adee2a877ff530
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

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

  Log Message:
  -----------
  lib-http: client: Use the new connection_input_halt/resume() functions.


  Commit: a4d429f219eb429b069e2f1d1273e2505217003f
      https://github.com/dovecot/core/commit/a4d429f219eb429b069e2f1d1273e2505217003f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M src/lib-http/http-server-connection.c

  Log Message:
  -----------
  lib-http: server: Use the new connection_input_halt/resume() functions.


  Commit: e0486149dd8833952215c7f7b86567e6ff0a295f
      https://github.com/dovecot/core/commit/e0486149dd8833952215c7f7b86567e6ff0a295f
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

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

  Log Message:
  -----------
  lib-http: client: Recreate connection IO after streams change.


  Commit: f0fc31c12a56bc7fd69d12d1868297ca4ab5c6d5
      https://github.com/dovecot/core/commit/f0fc31c12a56bc7fd69d12d1868297ca4ab5c6d5
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-02-16 (Fri, 16 Feb 2018)

  Changed paths:
    M src/lib-http/http-server-connection.c

  Log Message:
  -----------
  lib-http: server: Recreate connection IO after streams change.


  Commit: d51c6575822b864d48f6044473272160da8b1241
      https://github.com/dovecot/core/commit/d51c6575822b864d48f6044473272160da8b1241
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/lib-charset/Makefile.am
    A src/lib-charset/charset-utf8-only.c
    M src/lib-charset/charset-utf8.c

  Log Message:
  -----------
  lib-charset: Move non-iconv UTF-8 only translation code to its own file


  Commit: de3e700e95b3e735066ec1f0ea0ca7bdac7b3ca9
      https://github.com/dovecot/core/commit/de3e700e95b3e735066ec1f0ea0ca7bdac7b3ca9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/lib-charset/Makefile.am
    M src/lib-charset/charset-iconv.c
    M src/lib-charset/charset-utf8-only.c
    A src/lib-charset/charset-utf8-private.h
    M src/lib-charset/charset-utf8.c

  Log Message:
  -----------
  lib-charset: Allow plugins to replace charset_* functions

They just need to point charset_utf8_vfuncs to their own implementation.


  Commit: a12a2fa6b7b8db042ebe1bc2c927fade5a8c4b0d
      https://github.com/dovecot/core/commit/a12a2fa6b7b8db042ebe1bc2c927fade5a8c4b0d
  Author: Hideo Yoshizane <hideo.yoshizane at open-xchange.com>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M configure.ac
    M src/plugins/Makefile.am
    A src/plugins/charset-alias/Makefile.am
    A src/plugins/charset-alias/charset-alias-plugin.c
    A src/plugins/charset-alias/charset-alias-plugin.h

  Log Message:
  -----------
  charset-alias-plugin


  Commit: c2a88baa709c54dc8ccec3312802346fb7a68e84
      https://github.com/dovecot/core/commit/c2a88baa709c54dc8ccec3312802346fb7a68e84
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/plugins/Makefile.am
    M src/plugins/charset-alias/Makefile.am
    M src/plugins/charset-alias/charset-alias-plugin.c
    M src/plugins/charset-alias/charset-alias-plugin.h

  Log Message:
  -----------
  charset-alias: Cleanup whitespace

Remove \r from end of lines and remove trailing whitespace.


  Commit: 5bf8a6749d1664fe43bd7c39b6d4cd3049e01cfb
      https://github.com/dovecot/core/commit/5bf8a6749d1664fe43bd7c39b6d4cd3049e01cfb
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/plugins/charset-alias/charset-alias-plugin.c

  Log Message:
  -----------
  charset-alias: Fix keyvalues iteration

charset-alias-plugin.c:113:27: error: comparison between pointer and zero
character constant [-Werror=pointer-compare]
  for (i = 0; keyvalues[i] != '\0'; i++) {
                     ^~
charset-alias-plugin.c:113:14: note: did you mean to dereference the pointer?
  for (i = 0; keyvalues[i] != '\0'; i++) {


  Commit: c3eb4994da49c863bba7439acc8d69360daa4ac3
      https://github.com/dovecot/core/commit/c3eb4994da49c863bba7439acc8d69360daa4ac3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/imap/imap-fetch-body.c

  Log Message:
  -----------
  imap: Add parenthesis to FETCH SNIPPET (FUZZY text) response

Otherwise it violates the RFC 3501 text about FETCH responses.


  Commit: 237330132f0fbe5432f890211efb38b3b7e9c1cc
      https://github.com/dovecot/core/commit/237330132f0fbe5432f890211efb38b3b7e9c1cc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/imap/imap-fetch-body.c

  Log Message:
  -----------
  imap: Don't enforce sending SNIPPET reply as literal

Also change it to use "cur_str" since the reply is never very long.


  Commit: 5176322e4de27ced350cb430728168d42a084e19
      https://github.com/dovecot/core/commit/5176322e4de27ced350cb430728168d42a084e19
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/imap/imap-fetch-body.c

  Log Message:
  -----------
  imap: Fix FETCH SNIPPET

1) _BUFFERED flag wasn't set, which caused a missing space before the "SNIPPET".
2) It caused \Seen flag to be added to the mail


  Commit: aa4adc08008b45db04adcfa79527748a58416fc7
      https://github.com/dovecot/core/commit/aa4adc08008b45db04adcfa79527748a58416fc7
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/imap/imap-fetch-body.c

  Log Message:
  -----------
  imap: If snippet is not available return NIL


  Commit: 3ef6a75252af7c737414e1815610cb7e7a256b31
      https://github.com/dovecot/core/commit/3ef6a75252af7c737414e1815610cb7e7a256b31
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

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

  Log Message:
  -----------
  login-common,lib-ssl-iostream: Use SSL_CTX_set_ecdh_auto

This macro is same for 1.0.2 and 1.1.0 and libressl.


  Commit: ccdff25d22c6429471e2667707e8d0ad1e2b6138
      https://github.com/dovecot/core/commit/ccdff25d22c6429471e2667707e8d0ad1e2b6138
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/login-common/ssl-proxy-openssl.c

  Log Message:
  -----------
  login-common: Explicitly ignore SSL_CTX_set_ecdh_auto() return value

This is to fix a compiler warning.


  Commit: 1ed14132b10600ba644533884cf2aa84b5273d59
      https://github.com/dovecot/core/commit/1ed14132b10600ba644533884cf2aa84b5273d59
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure.ac: Add SSL_CTX_set_min_proto_version detection


  Commit: 4a9020ed888caf03fd3132a30a7818b01daa4b9d
      https://github.com/dovecot/core/commit/4a9020ed888caf03fd3132a30a7818b01daa4b9d
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/lib-ssl-iostream/Makefile.am
    M src/lib-ssl-iostream/iostream-openssl-common.c
    M src/lib-ssl-iostream/iostream-openssl.h
    A src/lib-ssl-iostream/test-ssl-iostream.c

  Log Message:
  -----------
  lib-ssl-iostream: Add ssl_protocols_to_min_protocol()

This detects minimum SSL protocol version from the ssl_protocols
setting.


  Commit: 2b303d7b208408d29801c103c811b4c26da8bf02
      https://github.com/dovecot/core/commit/2b303d7b208408d29801c103c811b4c26da8bf02
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

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

  Log Message:
  -----------
  lib-ssl-iostream,login-common: Use SSL_CTX_set_min_proto_version

Use SSL_CTX_set_min_proto_version to set the minimum ssl protocol
version where available.


  Commit: 6ed44fb1d851c40f4c5561088079ca304a7fb4e3
      https://github.com/dovecot/core/commit/6ed44fb1d851c40f4c5561088079ca304a7fb4e3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index.c

  Log Message:
  -----------
  lib-storage: mailbox_list_index_handle_corruption() - Move actual handling to its own function


  Commit: c5f76efde2f426214b64d6a327626b3d56925fb3
      https://github.com/dovecot/core/commit/c5f76efde2f426214b64d6a327626b3d56925fb3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index.c

  Log Message:
  -----------
  lib-storage: mailbox_list_index_handle_corruption() - Lock mailbox list while rebuilding

This guards against simultaneous mailbox create/delete/rename.


  Commit: 0dfea86838cb35ce1ded40281922557ddcb5af9e
      https://github.com/dovecot/core/commit/0dfea86838cb35ce1ded40281922557ddcb5af9e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index.c

  Log Message:
  -----------
  lib-storage: Unless LAYOUT=index, don't rebuild list index on missing INBOX


  Commit: aeb142d4223fa15c4d1bd226c4dccebda450da84
      https://github.com/dovecot/core/commit/aeb142d4223fa15c4d1bd226c4dccebda450da84
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/imap/main.c

  Log Message:
  -----------
  imap: When running standalone, delay initializing namespaces until PREAUTH is sent

Most importantly this makes the code paths similar for standalone and
non-standalone clients, which is needed by the following commits.


  Commit: d1c6aab5ae76e2ad961aa90279c5e964cd9e5885
      https://github.com/dovecot/core/commit/d1c6aab5ae76e2ad961aa90279c5e964cd9e5885
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/imap/imap-client.c
    M src/imap/imap-client.h
    M src/imap/imap-master-client.c
    M src/imap/main.c

  Log Message:
  -----------
  imap: Add client_create_finish() to finish namespace creation.


  Commit: d26c81ddcb28e26a96799da663b52f34f350cc43
      https://github.com/dovecot/core/commit/d26c81ddcb28e26a96799da663b52f34f350cc43
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-19 (Mon, 19 Feb 2018)

  Changed paths:
    M src/imap/imap-client.c

  Log Message:
  -----------
  imap: Don't set storage callbacks before namespaces are created

This fixes sending untagged OK/NO notifications from storage (e.g. lock
waits/override notifications). It was broken by
e031d9aaae59a9f79710dc1138b76b69272615a3


  Commit: 88d00eb01f615479da349e649384aaf41b1c09fd
      https://github.com/dovecot/core/commit/88d00eb01f615479da349e649384aaf41b1c09fd
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

  Changed paths:
    M src/doveadm/doveadm-dump-index.c

  Log Message:
  -----------
  doveadm dump: Show body.snippet in human-readable form


  Commit: d175ef52b6ee6b891b7d74d2423fd0efb46a50a3
      https://github.com/dovecot/core/commit/d175ef52b6ee6b891b7d74d2423fd0efb46a50a3
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

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

  Log Message:
  -----------
  lib-storage: move snippet generation to mail-save-finish

This is necessary because some storage backends (most notably sdbox) do
not allow getting the mail stream before the mail is fully written out.
(See written_to_disk in sdbox-file.h.)

If we could avoid getting the stream to generate a snippet we could
leave this where it is.


  Commit: 54af5cc73f52ca327fc448757d64b4deefe9aa06
      https://github.com/dovecot/core/commit/54af5cc73f52ca327fc448757d64b4deefe9aa06
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

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

  Log Message:
  -----------
  lib-storage: Make index_mail_want_cache() global


  Commit: cac1deb298d39296ac0e5ae8663ed04b76884205
      https://github.com/dovecot/core/commit/cac1deb298d39296ac0e5ae8663ed04b76884205
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-02-20 (Tue, 20 Feb 2018)

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

  Log Message:
  -----------
  lib-storage: Generate snippet while saving new mails


Compare: https://github.com/dovecot/core/compare/15d5b8a9d914...cac1deb298d3


More information about the dovecot-cvs mailing list