[dovecot/core] 9d8d26: lib-storage: Allow LISTINDEX to point to a differe...

GitHub noreply at github.com
Tue Jul 25 18:30:19 EEST 2017


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

  Changed paths:
    M src/lib-storage/index/mbox/mbox-storage.c
    M src/lib-storage/list/mailbox-list-fs.c
    M src/lib-storage/list/mailbox-list-index-backend.c
    M src/lib-storage/list/mailbox-list-index.c
    M src/lib-storage/list/mailbox-list-maildir.c
    M src/lib-storage/mailbox-list-private.h
    M src/lib-storage/mailbox-list.c
    M src/lib-storage/mailbox-list.h

  Log Message:
  -----------
  lib-storage: Allow LISTINDEX to point to a different directory

Most importantly because the mailbox list index is only a cache, it could be
safely pointed to e.g. tmpfs to save disk I/O.


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

  Changed paths:
    M doc/example-config/conf.d/10-mail.conf

  Log Message:
  -----------
  example-config: Add mailbox_list_index_very_dirty_syncs


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

  Changed paths:
    M doc/example-config/conf.d/10-mail.conf
    M src/lib-storage/list/mailbox-list-index-status.c
    M src/lib-storage/mail-storage-settings.c
    M src/lib-storage/mail-storage-settings.h

  Log Message:
  -----------
  lib-storage: Add mailbox_list_index_include_inbox setting

This controls whether to update INBOX's STATUS information in the mailbox
list index. It can be useful especially if LISTINDEX points to a tmpfs,
but perhaps also in other situations.

I considered adding a more generic setting to exclude other mailboxes, but
the namespace prefixes and hierarchy separators get a bit complicated with
shared mailboxes. It's probably also not very useful to change this for
anything but the INBOX.


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

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

  Log Message:
  -----------
  lib-storage: If chdir(home) fails due to EACCES, don't log two errors.


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

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

  Log Message:
  -----------
  lib-storage: If userdb returns chdir extra field, chdir() there instead of home

This can avoid unnecessary home directory accesses if indexes are stored
outside the home and there's no other reason to chdir() to home.


Compare: https://github.com/dovecot/core/compare/88b2ef52690a...5d39748585ce


More information about the dovecot-cvs mailing list