Virtual folder with 'younger' not updating

Aki Tuomi aki.tuomi at open-xchange.com
Wed Dec 30 12:22:38 EET 2020


> On 30/12/2020 12:11 Jonathan Casiot <jonathan at pueblo.co.uk> wrote:
> 
>  
> On 30/12/2020 10:00, Aki Tuomi wrote:
> > 
> >> On 30/12/2020 11:52 Jonathan Casiot <jonathan at pueblo.co.uk> wrote:
> >>
> >>   
> >> On 30/12/2020 06:25, Aki Tuomi wrote:
> >>>
> >>>> On 29/12/2020 21:15 Jonathan Casiot <jonathan at pueblo.co.uk> wrote:
> >>>>
> >>>>    
> >>>> I have a virtual folder set up with the following in dovecot-virtual:
> >>>>
> >>>> INBOX
> >>>> INBOX.temp
> >>>>     ALL YOUNGER 86400
> >>>>
> >>>> The problem is that messages older than 86,400 seconds (24 hours) never
> >>>> disappear from the folder. Is there any fix for this apart from adding
> >>>> INDEX=MEMORY to the mailbox location in the config file?
> >>>>
> >>>> I'm running Dovecot 2.2.36 on CentOS.
> >>>>
> >>>> Regards,
> >>>>
> >>>> -- 
> >>>> Jonathan
> >>>
> >>> H!
> >>>
> >>> This is a known bug, we are tracking it as DOP-281. The indexes get updated when new mail is received.
> >>>
> >>> Aki
> >>>
> >>
> >> Hi
> >>
> >> In my case new mails are shown in the virtual folder so presumably these
> >> have been added to the index but those over 24 hours old are not removed
> >> - a 'doveadm search' of the mailbox still shows messages that are older
> >> than 24 hours.
> >>
> >> Regards
> >>
> >> -- 
> >> Jonathan
> > 
> > Can you try expunging something from the folder, as an experiment?
> > 
> > Aki
> > 
> 
> An expunge works, eg. 'before 40h' those messages are now no longer 
> visible either in the mail client or a 'doveadm search'.
> 
> -- 
> Jonathan

I was thinking that you'd expunge *one* mail and see if the indexes get updated.

Aki


More information about the dovecot mailing list