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

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


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 8f0503ea115c4bb1eb1857023cc5051cf4bed807
      https://github.com/dovecot/core/commit/8f0503ea115c4bb1eb1857023cc5051cf4bed807
  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: aed5d5c058fef5d9aea9005ae3a1d2501b8dcb94
      https://github.com/dovecot/core/commit/aed5d5c058fef5d9aea9005ae3a1d2501b8dcb94
  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: 9826e14054e128a0af3f347761f53f1426d1fc9f
      https://github.com/dovecot/core/commit/9826e14054e128a0af3f347761f53f1426d1fc9f
  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: 06c1f686fd7cb73b34b5e61370846a692e7d3e37
      https://github.com/dovecot/core/commit/06c1f686fd7cb73b34b5e61370846a692e7d3e37
  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: Use ":" instead of space as the parameter separator.

This makes it consistent with all the other fs drivers.


  Commit: cf460975286e2124a1e86ef6190dbd30f7812a5f
      https://github.com/dovecot/core/commit/cf460975286e2124a1e86ef6190dbd30f7812a5f
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-06-21 (Tue, 21 Jun 2016)

  Changed paths:
    M doc/man/doveadm-expunge.1.in

  Log Message:
  -----------
  doc: fix wrong tense in doveadm-expunge man page


Compare: https://github.com/dovecot/core/compare/ade5567577da...cf460975286e


More information about the dovecot-cvs mailing list