[dovecot/core] 27817e: lib-storage: Changed mail storage initialization.

GitHub noreply at github.com
Tue Jul 11 12:00:12 EEST 2017


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

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

  Log Message:
  -----------
  lib-storage: Changed mail storage initialization.

Most importantly require mail_namespaces_init_finish() after
mail_storage_create(). This was needed so that
mail_namespaces_created/added hook would always have the ns->list set, which
is required for several of the hooks to work (e.g. mailbox list index)


  Commit: 614f18a2e0ee0c717bee65a94776b01515a30ae5
      https://github.com/dovecot/core/commit/614f18a2e0ee0c717bee65a94776b01515a30ae5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-07-11 (Tue, 11 Jul 2017)

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

  Log Message:
  -----------
  lib-storage: Another fix to mail storage initialization.

Allow mail_namespaces_init_location() to add the namespace directly to user,
since that's what the current callers always want. But compared to the
original code we're now calling mail_namespaces_init_finish() rather than
doing the same things ourself.


Compare: https://github.com/dovecot/core/compare/ce2eb23d2d01...614f18a2e0ee


More information about the dovecot-cvs mailing list