[dovecot/core] 7b1561: lib-storage: Optimize INBOX notifications with mai...

GitHub noreply at github.com
Thu Sep 7 14:30:13 EEST 2017


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

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

  Log Message:
  -----------
  lib-storage: Optimize INBOX notifications with mailbox_list_index_include_inbox=yes

There's no need for special INBOX checks in that case, because INBOX is
tracked in the mailbox list index the same as any other mailbox.


  Commit: 431ccc85ea20f6a9490bb783de63b11daf0587c5
      https://github.com/dovecot/core/commit/431ccc85ea20f6a9490bb783de63b11daf0587c5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-07 (Thu, 07 Sep 2017)

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

  Log Message:
  -----------
  lib-storage: Remove INBOX notification checks if mailbox events aren't requested

Nothing would be done with the results of those checks.

Note that MAILBOX_LIST_NOTIFY_UIDVALIDITY can be handled using mailbox list
index, even for INBOX with mailbox_list_index_include_inbox=no.


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

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

  Log Message:
  -----------
  lib-storage: List index notify cleanup - move code to separate functions

No functional changes. In preparation for the next commit.


  Commit: 3c28795b12bb393846a5816b8e79196c7335aa67
      https://github.com/dovecot/core/commit/3c28795b12bb393846a5816b8e79196c7335aa67
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-07 (Thu, 07 Sep 2017)

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

  Log Message:
  -----------
  lib-storage: Fix INBOX notifications to set correct events

This fixes IMAP NOTIFY so it doesn't send STATUS notifications to INBOX when
it doesn't have to.


Compare: https://github.com/dovecot/core/compare/046edb80ff61...3c28795b12bb


More information about the dovecot-cvs mailing list