[dovecot/core] f05d01: lazy-expunge: Use mailbox_move() instead of mailbo...

GitHub noreply at github.com
Sun Feb 26 13:30:10 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: f05d013c67c9af853c3258d59403da13e1d4307b
      https://github.com/dovecot/core/commit/f05d013c67c9af853c3258d59403da13e1d4307b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-02-26 (Sun, 26 Feb 2017)

  Changed paths:
    M src/plugins/lazy-expunge/lazy-expunge-plugin.c

  Log Message:
  -----------
  lazy-expunge: Use mailbox_move() instead of mailbox_copy()

This allows some optimizations to be performed that are only possible when
moving messages.

It's slightly strange now that mail_expunge() is triggered twice for the
same source mail, but lazy_expunge plugin is called very early so most
plugins won't see it called twice. Currently only acl plugin sees it, and
it doesn't care.




More information about the dovecot-cvs mailing list