Autoexpunge not working for Junk?

Sami Ketola Sami.Ketola at Open-Xchange.com
Mon Aug 12 09:18:27 EEST 2019



> On 10 Aug 2019, at 3.15, @lbutlr via dovecot <dovecot at dovecot.org> wrote:
> 
> On 8 Aug 2019, at 13:03, Amir Caspi <cepheid at 3phase.com> wrote:
>> IMHO the setting should apply regardless of protocol, but is that actually the case in practice?
> 
> It seems to be broken.
> 
> I have
> 
> namespace inbox {
> inbox = yes
> location =
> mailbox Drafts {
> special_use = \Drafts
> }
> mailbox Junk {
> autoexpunge = 14 days
> auto = subscribe
> special_use = \Junk
> }
>> }
> 
> and I have messages in my Junk Mail from 16 July 2019


Quoting questions from Timo:

"1. What's the first mail's saved-timestamp?
doveadm fetch -u user date.saved mailbox Junk 1

2. That timestamp should also be the same in dovecot.list.index:
doveadm mailbox status -u user firstsaved Junk"

can you check that information?

Sami


More information about the dovecot mailing list