[Dovecot] getting rid of old spam from +spam Maildir ?

Voytek Eymont voytek at sbt.net.au
Fri Aug 3 16:47:55 EEST 2012


On Fri, August 3, 2012 11:42 pm, Timo Sirainen wrote:
> On 3.8.2012, at 16.09, Voytek Eymont wrote:
>
>>> doveadm expunge -A mailbox Junk  savedbefore 7d;
>> where am I going wrong ?
>> nothing gets removed:
> Find out what Dovecot thinks the save dates are:
> doveadm fetch -u user at domain date.saved mailbox spam

Timo, thanks

I see...

date.saved: 2012-08-03 22:44:09
date.saved: 2012-08-03 22:44:09
date.saved: 2012-08-03 22:44:09
date.saved: 2012-08-03 22:44:09
date.saved: 2012-08-03 22:44:09
date.saved: 2012-08-03 22:44:09

> I'm pretty sure the problem is simply that the saved date isn't what you
> expect it to be. With maildir it's initially taken from the file's ctime
> and added to cache.

so... what do I need ?

-- 
Voytek Eymont




More information about the dovecot mailing list