[dovecot/core] ce3cb7: lib-storage: Add autoexpunge_max_mails configurati...

GitHub noreply at github.com
Tue Jun 21 14:30:18 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: ce3cb757be6f8959236db19abab4615c21bb8602
      https://github.com/dovecot/core/commit/ce3cb757be6f8959236db19abab4615c21bb8602
  Author: Baofeng Wang <baofeng.wang at dovecot.fi>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M src/lib-storage/mail-autoexpunge.c
    M src/lib-storage/mail-storage-settings.c
    M src/lib-storage/mail-storage-settings.h

  Log Message:
  -----------
  lib-storage: Add autoexpunge_max_mails configuration to autoexpunge

Mails are expunged until mail count is at autoexpunge_max_mails or below.

In below example, autoexpunge will expunge 1 mail when message count > 100
and *then* try to expunge mails that are still older than 2 minutes:

namespace {
  ..
   mailbox Trash {
     autoexpunge = 2 mins
     autoexpunge_max_mails = 100
   }
}


  Commit: d5fbefd8eae8de71afbf55673da3c3b9e04fba8f
      https://github.com/dovecot/core/commit/d5fbefd8eae8de71afbf55673da3c3b9e04fba8f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M src/lib-fs/fs-posix.c

  Log Message:
  -----------
  fs-posix: Autodelete directories also when "prefix" parameter is used.


  Commit: c39000f9aa595e4fc15825f7045fb073d79ece2d
      https://github.com/dovecot/core/commit/c39000f9aa595e4fc15825f7045fb073d79ece2d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M src/lib-fs/fs-posix.c

  Log Message:
  -----------
  fs-posix: Added "dirs" parameter to enable explicit directory removal.


  Commit: 07a1f7b108d40e2cc68f2967cacd161b8a24108c
      https://github.com/dovecot/core/commit/07a1f7b108d40e2cc68f2967cacd161b8a24108c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M src/lib-fs/fs-posix.c

  Log Message:
  -----------
  fs-posix: Allow ":" as well as space as parameter separator.

This makes it consistent with all the other fs drivers.


Compare: https://github.com/dovecot/core/compare/8425e55f5aa8...07a1f7b108d4


More information about the dovecot-cvs mailing list