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

Timo Sirainen tss at iki.fi
Fri Aug 3 16:42:38 EEST 2012


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

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.



More information about the dovecot mailing list