[dovecot/core] 7e4af9: lib-index: Fix next_uid lookup in open transaction...

GitHub noreply at github.com
Thu Jul 20 14:00:13 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 7e4af98560a21545acbe223a694843e5172f4181
      https://github.com/dovecot/core/commit/7e4af98560a21545acbe223a694843e5172f4181
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-07-20 (Thu, 20 Jul 2017)

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

  Log Message:
  -----------
  lib-index: Fix next_uid lookup in open transaction that has appended mails

The appended mails were used for returning an updated
mail_index_header.next_uid, but only if the mails were assigned UIDs in
mail_index_append(). It should have updated the next_uid also after
mail_index_append_finish_uids() was used to assign the UIDs.

This fixes setting first_recent_uid correctly for virtual mailboxes when the
sync finds new mails. Avoids multiple sessions from getting \Recent flags
for the same mails.


  Commit: 9f5272174ea841203cc049fd63a3f685b1b6d5a5
      https://github.com/dovecot/core/commit/9f5272174ea841203cc049fd63a3f685b1b6d5a5
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2017-07-20 (Thu, 20 Jul 2017)

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

  Log Message:
  -----------
  imap-client: Add const char *disconnect_reason to client

This is to allow using reason given to client_disconnect() via timeout
context.


  Commit: 73ec1eea845508a946eecc4a6414d122542da300
      https://github.com/dovecot/core/commit/73ec1eea845508a946eecc4a6414d122542da300
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2017-07-20 (Thu, 20 Jul 2017)

  Changed paths:
    M doc/example-config/conf.d/20-imap.conf
    M src/imap/imap-client.c
    M src/imap/imap-client.h

  Log Message:
  -----------
  imap-client: Add %{autoexpunged} to imap_logout_format


  Commit: 39e7abd34cce7644fd0c7f7750315c4ac9637b88
      https://github.com/dovecot/core/commit/39e7abd34cce7644fd0c7f7750315c4ac9637b88
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2017-07-20 (Thu, 20 Jul 2017)

  Changed paths:
    M doc/example-config/conf.d/20-imap.conf
    M src/imap/cmd-append.c
    M src/imap/imap-client.c
    M src/imap/imap-client.h

  Log Message:
  -----------
  imap: Add %{appended} to imap_logout_format


Compare: https://github.com/dovecot/core/compare/bf2fa3606a1d...39e7abd34cce


More information about the dovecot-cvs mailing list