On Sat, 2011-03-12 at 15:54 +0100, Christoph Pleger wrote: > > > So it's as if the timestamp keeps changing to the newest deleted > > > message.. Maybe mail_debug=yes shows something helpful with these > > > patches: > > > > > > http://hg.dovecot.org/dovecot-2.0/rev/eac54c2dc98b > > > http://hg.dovecot.org/dovecot-2.0/rev/63ed0d3f4f52 > > > http://hg.dovecot.org/dovecot-2.0/rev/2cb0fb910441 > > > > It seems to work now. Message were expunged today and 'doveadm search -A > > mailbox Trash savedbefore <days>d' still shows me messages that are four > > days old or younger. > > Big surprise: Something bad must have happened after the messages were > deleted > from Trash; now all messages are zero days old.
Are you using maildir? Did you run with those patches + mail_debug=yes?