On 22 Dec 2015, at 22:23, Robert Blayzor <rblayzor.b...@inoc.net> wrote: > > On Dec 22, 2015, at 2:56 PM, Teemu Huovila <teemu.huov...@dovecot.fi> wrote: >> >> The autoexpunge feature does not check the \Deleted flag. >> >> Are any errors logged in "doveadm log errors"? Could you post your complete >> output of doveconf -n please. > > > > That’s what I thought. If I run expunge from doveadm manually, it will work > as expected. I just never seem to get autoexpunge to fire. .. > mailbox Trash { > auto = subscribe > autoexpunge = 2 weeks > special_use = \Trash > }
So this keeps finding mails that aren't being automatically deleted? (You were testing with savedbefore, right?) : doveadm search -u user@domain mailbox Trash savedbefore 2w If that works, try if it happens to work with mailbox_list_index=no? Maybe the index somehow got messed up. If that works, send the output of: doveadm dump /path/to/Maildir/dovecot.list.index The dump includes folder names, so maybe send it privately.