[dovecot/core] e93d64: example-config: Add connect/read/write_timeout to ...

GitHub noreply at github.com
Mon Apr 10 22:41:18 EEST 2017


  Branch: refs/heads/release-2.2.29
  Home:   https://github.com/dovecot/core
  Commit: e93d643c105c3ba9d41364184f93486dc18dffc8
      https://github.com/dovecot/core/commit/e93d643c105c3ba9d41364184f93486dc18dffc8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M doc/example-config/dovecot-sql.conf.ext

  Log Message:
  -----------
  example-config: Add connect/read/write_timeout to mysql connect settings


  Commit: 573db93069ec9fb37f95c7afee5f1a177b889830
      https://github.com/dovecot/core/commit/573db93069ec9fb37f95c7afee5f1a177b889830
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M src/lib-dict/dict-sql.c

  Log Message:
  -----------
  dict-sql: Fix setting $variables to iteration key when map had multiple values


  Commit: 7fee8a47a8f982233115f92f81fd3cac01978bde
      https://github.com/dovecot/core/commit/7fee8a47a8f982233115f92f81fd3cac01978bde
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

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

  Log Message:
  -----------
  doveadm force-resync: Skip autocreated mailboxes that don't exist yet.

Since they don't exist, there's nothing to resync in them either.
This avoids unnecessarily creating them.


  Commit: c3f1d65f7b4049621f9630473c715029311067b3
      https://github.com/dovecot/core/commit/c3f1d65f7b4049621f9630473c715029311067b3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

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

  Log Message:
  -----------
  fs-posix: Fix FS_METADATA_WRITE_FNAME to preserve the path

It should only change the filename.


  Commit: 7ee9cf058a1630fdc43a329dd4476678da075c68
      https://github.com/dovecot/core/commit/7ee9cf058a1630fdc43a329dd4476678da075c68
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M src/lib-imap/imap-envelope.c
    M src/lib-mail/message-part-data.c
    M src/lib-mail/message-part-data.h

  Log Message:
  -----------
  global: Make sure all files end with newline

Fixes compiler warnings with Sun C.


  Commit: ef75e0359cc732a70af701c7915871fbd262ec0a
      https://github.com/dovecot/core/commit/ef75e0359cc732a70af701c7915871fbd262ec0a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M src/auth/auth-policy.c
    M src/plugins/mail-crypt/mail-crypt-key.c

  Log Message:
  -----------
  global: Remove extra ';' to fix compiler errors

Sun C doesn't like them.


  Commit: b0a8ad13516483ad2a27f302dbb6978a50477939
      https://github.com/dovecot/core/commit/b0a8ad13516483ad2a27f302dbb6978a50477939
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M src/auth/passdb-imap.c

  Log Message:
  -----------
  auth: passdb imap: Use ssl_client_ca_* settings.

The args = ssl_ca_dir=.. setting still overrides the ssl_client_ca_dir.


  Commit: 8917e59d30540a3423e528625b7453d15b580908
      https://github.com/dovecot/core/commit/8917e59d30540a3423e528625b7453d15b580908
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

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

  Log Message:
  -----------
  lib-ssl-iostream: Don't require SSL CA certs if require_valid_cert==FALSE

This happened only when verify_remote_cert was also TRUE. But this behavior
now allows verifying the cert without actually requiring it to be valid.


  Commit: cf97d62f07403bfa5388e80e2c64c24bc70ef863
      https://github.com/dovecot/core/commit/cf97d62f07403bfa5388e80e2c64c24bc70ef863
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M src/auth/passdb-imap.c

  Log Message:
  -----------
  auth: Fix crash in passdb imap on connection failures


  Commit: 27582ec656abb29cdc8d1c5d9dac5762709f887f
      https://github.com/dovecot/core/commit/27582ec656abb29cdc8d1c5d9dac5762709f887f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
    M src/plugins/fts-solr/fts-backend-solr.c

  Log Message:
  -----------
  fts-solr: Don't double-escape headers.


  Commit: 8d1d9b963b4e2eb7da614206b08ef3b36a48c9c7
      https://github.com/dovecot/core/commit/8d1d9b963b4e2eb7da614206b08ef3b36a48c9c7
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
    M src/plugins/var-expand-crypt/Makefile.am

  Log Message:
  -----------
  auth-var-expand-crypt plugin: Add missing ldflags


  Commit: f9269f9c6f865de465b8da8a7e8f3014ff3c33a9
      https://github.com/dovecot/core/commit/f9269f9c6f865de465b8da8a7e8f3014ff3c33a9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-09 (Sun, 09 Apr 2017)

  Changed paths:
    M doc/example-config/dovecot-ldap.conf.ext

  Log Message:
  -----------
  example-config: Add blocking setting to dovecot-ldap.conf.ext


  Commit: 7ec45b513a5de83bc62ace5e1e265e5fec59c352
      https://github.com/dovecot/core/commit/7ec45b513a5de83bc62ace5e1e265e5fec59c352
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-http: Track request's first and last send attempt times separately.


  Commit: 8465d8e426ac501dd0c9c0be9cab2175f4e58cd4
      https://github.com/dovecot/core/commit/8465d8e426ac501dd0c9c0be9cab2175f4e58cd4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-http: Add http_client_request_stats.first_sent_msecs

Also rename sent_msecs to last_sent_msecs.


  Commit: 7f6033ce56919a69b17a6571a796d6892b6a26a3
      https://github.com/dovecot/core/commit/7f6033ce56919a69b17a6571a796d6892b6a26a3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-http: Improve request stats text.

It's important to know how long the request was in queue before it was sent.

Also the "n attempts in m secs" makes more sense if it was counting only the
time after the initial request was sent, not including the queuing time.

If there is more than 1 attempt, log separately how long all the attempts
were waited on vs. how long the last attempt took.


  Commit: ee37c55e9f7ae51c4a92fe42fbe1719ffcbfb7fe
      https://github.com/dovecot/core/commit/ee37c55e9f7ae51c4a92fe42fbe1719ffcbfb7fe
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Use struct timeval for tracking last_connect time.

This provides better accuracy when calculating how much time there's left
until reconnection.


  Commit: 64767d5baaf60113b562dd05a205cbd6ad7938ee
      https://github.com/dovecot/core/commit/64767d5baaf60113b562dd05a205cbd6ad7938ee
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Change connect_retry_interval_secs to _msecs

This allows caller to provide better precision.


  Commit: 35bfebb7e7a6667d21e8adaed94c92b03c82a116
      https://github.com/dovecot/core/commit/35bfebb7e7a6667d21e8adaed94c92b03c82a116
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  imapc: Change imapc_connection_retry_interval default to be 1 second.

10 secs at least is too high. Usually the connection problem is very
intermittent and even an immediate reconnection would succeed.


  Commit: c5977f5ac4a70492872cdab56f060b159d8c66ef
      https://github.com/dovecot/core/commit/c5977f5ac4a70492872cdab56f060b159d8c66ef
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: imapc_client_deinit() didn't set client=NULL


  Commit: a265dd9a82e2c41e2bdcdbc0c3731c7a1b11e65d
      https://github.com/dovecot/core/commit/a265dd9a82e2c41e2bdcdbc0c3731c7a1b11e65d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Call the public login callback exactly once.

Previously it was also called only once, as long as there were only a single
imap connection. (The current imapc code wouldn't create more than one
connection.) It was a bit confusing what the expectation was, so now the
callback is never called more than once.


  Commit: 53ea5f8b6f38d3da94d7abcf2ff0555c1d3e218a
      https://github.com/dovecot/core/commit/53ea5f8b6f38d3da94d7abcf2ff0555c1d3e218a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Make command tag counter externally accessible

This allows unit tests to reset it.


  Commit: 097c10487fab35afe3425c6a5e8890cd0b218e21
      https://github.com/dovecot/core/commit/097c10487fab35afe3425c6a5e8890cd0b218e21
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Disconnection during LOGIN should still have state=disconnected

It's not an authentication failure, which would imply that the user or
password was wrong.


  Commit: 242191143042a8476ad429d8eaeb67d59c6dd39a
      https://github.com/dovecot/core/commit/242191143042a8476ad429d8eaeb67d59c6dd39a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Remove hardcoded IMAPC_CONNECT_RETRY_WAIT_MSECS

We have a setting for it now.


  Commit: 575dd0e5e79702f9c9a75218cad84d1f7d2cfd81
      https://github.com/dovecot/core/commit/575dd0e5e79702f9c9a75218cad84d1f7d2cfd81
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Include "ms" in reconnect warning message


  Commit: c2f399637faa0fa9a050cefe814381159af37df3
      https://github.com/dovecot/core/commit/c2f399637faa0fa9a050cefe814381159af37df3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

  Changed paths:
    M src/lib-imap-client/Makefile.am
    M src/lib-imap-client/imapc-client.c
    M src/lib-imap-client/imapc-client.h
    A src/lib-imap-client/test-imapc-client.c

  Log Message:
  -----------
  lib-imap-client: Add unit test

Initially this tests some connection and reconnection problems.


  Commit: 1d21e270c022601ea7cd99aea145863d5f2d1f59
      https://github.com/dovecot/core/commit/1d21e270c022601ea7cd99aea145863d5f2d1f59
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

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

  Log Message:
  -----------
  lib-imap-client: Fixes to unit test


  Commit: 13ebc01c1dc31cb1ebf7b3384c078dd0bb0e6153
      https://github.com/dovecot/core/commit/13ebc01c1dc31cb1ebf7b3384c078dd0bb0e6153
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-04-10 (Mon, 10 Apr 2017)

  Changed paths:
    M NEWS
    M configure.ac

  Log Message:
  -----------
  Released v2.2.29.


Compare: https://github.com/dovecot/core/compare/c5dff2e95df6...13ebc01c1dc3


More information about the dovecot-cvs mailing list