Dovecot 2.2.20 autoexpunge

Timo Sirainen tss at iki.fi
Wed Dec 23 08:17:39 UTC 2015


On 22 Dec 2015, at 22:23, Robert Blayzor <rblayzor.bulk at inoc.net> wrote:
> 
> On Dec 22, 2015, at 2:56 PM, Teemu Huovila <teemu.huovila at 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 at 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.



More information about the dovecot mailing list