[dovecot/core] f5416e: director: Cleanup - Move all doveadm commands into...

GitHub noreply at github.com
Wed Sep 27 15:30:13 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: f5416e3457fc6b1f3b4be1c6d2a9a3ee13c1135d
      https://github.com/dovecot/core/commit/f5416e3457fc6b1f3b4be1c6d2a9a3ee13c1135d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  director: Cleanup - Move all doveadm commands into an array.


  Commit: 54069568094142c9cc7e3b6077a6ba0a53074c18
      https://github.com/dovecot/core/commit/54069568094142c9cc7e3b6077a6ba0a53074c18
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  director: Cleanup - Doveadm commands now return enum doveadm_director_cmd_ret


  Commit: 1d0eb22ca5e03558edf6c157e354f54c6147ca9a
      https://github.com/dovecot/core/commit/1d0eb22ca5e03558edf6c157e354f54c6147ca9a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

  Changed paths:
    M src/director/doveadm-connection.c
    M src/director/doveadm-connection.h
    M src/director/main.c

  Log Message:
  -----------
  director: doveadm HOST-* commands now wait for ring sync before returning OK

This should make it easier for tests and maybe for scripts in general, so
they won't think the command failed when it just takes a while to finish.


  Commit: 9a97cfeb252b2da589a64ca02be39491995f79ac
      https://github.com/dovecot/core/commit/9a97cfeb252b2da589a64ca02be39491995f79ac
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  director: Run director/host changing doveadm commands only after ring is synced

If the ring sync is still pending, the doveadm command may become reverted.
This doesn't fully prevent problems caused by sending doveadm commands
simultaneously to multiple directors, but it should prevent issues when
only a single director is used for doveadm commands.

It would have been nice to enable this also for HOST/DIRECTOR-LIST commands,
but they don't support returning a ring timeout error without changing the
protocol. It's a bit too much effort to change that for now.


  Commit: 16d2f48cbfa636d4ef99f42853e1a18726d10d5e
      https://github.com/dovecot/core/commit/16d2f48cbfa636d4ef99f42853e1a18726d10d5e
  Author: Timo Sirainen <tss at iki.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

  Changed paths:
    M src/director/mail-host.h

  Log Message:
  -----------
  director: Remember backends' hostnames and send them in login reply.
This allows login processes to verify the remote server's hostname in SSL
certificate.


  Commit: e55f99a3deabc6b30beb8b680ee26aafa854c571
      https://github.com/dovecot/core/commit/e55f99a3deabc6b30beb8b680ee26aafa854c571
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

  Changed paths:
    M src/lib/Makefile.am
    A src/lib/var-expand-if.c
    M src/lib/var-expand-private.h
    M src/lib/var-expand.c

  Log Message:
  -----------
  var-expand: Add support for conditionals

%{if;value-a,op,value-b:true-value:false-value}


  Commit: d19ed6338226b5f8f3e49bfc67ea6f0cdc7cfb30
      https://github.com/dovecot/core/commit/d19ed6338226b5f8f3e49bfc67ea6f0cdc7cfb30
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  var-expand: Add tests for var_expand conditionals


  Commit: 587bf2f8f004240ef3fbed6bf813449111d447d2
      https://github.com/dovecot/core/commit/587bf2f8f004240ef3fbed6bf813449111d447d2
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  var-expand-if: Remove unused variable par_start


  Commit: 5ef27b9d1b198dcb04b3588c25d5208876ccb7ef
      https://github.com/dovecot/core/commit/5ef27b9d1b198dcb04b3588c25d5208876ccb7ef
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  lib: Fix static analyzer warnings in var-expand-if


  Commit: 053f9b41acc2b61e5df9a9f551808e65ad1ec276
      https://github.com/dovecot/core/commit/053f9b41acc2b61e5df9a9f551808e65ad1ec276
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  lib: Fix compiler warning in var-expand-if


  Commit: dbf0b24b7834687b71e1cf97201cfe234a3ef2cc
      https://github.com/dovecot/core/commit/dbf0b24b7834687b71e1cf97201cfe234a3ef2cc
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  auth: Avoid DNS lookup for "host" if passdb returns also "hostip"


  Commit: 9222388d61d94edcc1176d18bd708a63dddc63a3
      https://github.com/dovecot/core/commit/9222388d61d94edcc1176d18bd708a63dddc63a3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

  Changed paths:
    M src/lmtp/commands.c
    M src/lmtp/lmtp-proxy.c
    M src/lmtp/lmtp-proxy.h

  Log Message:
  -----------
  lmtp proxy: Avoid DNS lookup for "host" if passdb also returns "hostip"


  Commit: 33f877eca9698b11d37a902b1dd994d681d2207d
      https://github.com/dovecot/core/commit/33f877eca9698b11d37a902b1dd994d681d2207d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-27 (Wed, 27 Sep 2017)

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

  Log Message:
  -----------
  doveadm proxy: Avoid DNS lookup for "host" if passdb also returns "hostip"


Compare: https://github.com/dovecot/core/compare/8cd3ade635cb...33f877eca969


More information about the dovecot-cvs mailing list