[dovecot/core] ad082a: lib-storage: Limit folder full name only

GitHub noreply at github.com
Mon Sep 12 12:30:15 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: ad082a8bfd74393367ee5968741340f686ae0a73
      https://github.com/dovecot/core/commit/ad082a8bfd74393367ee5968741340f686ae0a73
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M src/lib-storage/mail-storage.c
    M src/lib-storage/mailbox-list-private.h
    M src/lib-storage/mailbox-list.c

  Log Message:
  -----------
  lib-storage: Limit folder full name only

Before we had limit of 16 levels and 255 bytes per name
which is same as 4096 bytes. Now we limit only the total
length of the name to MAILBOX_LIST_NAME_MAX_LENGTH. For
compability reasons, we are restricting individual component
names to 255 characters.


  Commit: 8d41c2d42f8884a2d0d38a42ffe33f1ec3bc0f85
      https://github.com/dovecot/core/commit/8d41c2d42f8884a2d0d38a42ffe33f1ec3bc0f85
  Author: Phil Carmody <phil at dovecot.fi>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M src/plugins/fts/fts-expunge-log.c
    M src/plugins/fts/fts-expunge-log.h

  Log Message:
  -----------
  plugins: fts - replace i_assert under _expunge_log_subtract with warning (API change)

The helper whose interface is changing currently has no other known
clients (there's little need for it to be exposed at all).

This should never happen, but if it does, just tally the number of times
it happened, and squirt out a warning message after the whole subtract.
If it happens at all, there's no reason not to expect a lot, so only
warn once per file.

In particular - do not assert crash when this is seen - it has been seen
on live test systems where file corruption seems to have occured. As
this can only be associated with corrupt fts indexes, seeing this error
implies that the whole FTS index should be rebuilt for that user.

Signed-off-by: Phil Carmody <phil at dovecot.fi>


  Commit: 5affc316cebc5f8765a0e32bbccec64eac2656a1
      https://github.com/dovecot/core/commit/5affc316cebc5f8765a0e32bbccec64eac2656a1
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M src/config/doveconf.c

  Log Message:
  -----------
  doveconf: hide ssl_key without -P


  Commit: 63648d35ce915cc43adbb7a2f9c7f8882229b1a3
      https://github.com/dovecot/core/commit/63648d35ce915cc43adbb7a2f9c7f8882229b1a3
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M src/config/doveconf.c

  Log Message:
  -----------
  doveconf: Hide any _api_key


  Commit: 9c96b04f26fac44878c2b61b22a92060c1c8effa
      https://github.com/dovecot/core/commit/9c96b04f26fac44878c2b61b22a92060c1c8effa
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-09-12 (Mon, 12 Sep 2016)

  Changed paths:
    M src/plugins/pop3-migration/pop3-migration-plugin.c

  Log Message:
  -----------
  pop3-migration-plugin: Add to index after successful retry

Also change return value to indicate that the hash
has been assigned to header.


Compare: https://github.com/dovecot/core/compare/38a254286953...9c96b04f26fa


More information about the dovecot-cvs mailing list