On Wed, 2008-10-29 at 20:14 +0100, LÉVAI Dániel wrote:
> > Running it again now would show that it's going to expunge it?
> Unfortunately not:
> # ls -lrt $USER/Maildir/.spamassassin.SPAM/cur/
> 1840 Oct 25 03:17:55 2008 1225137329.[...],W=1890,S=1840:2,S
> 1978 Oct 25 04:32:37 2008 1225137329.[...],W=2028,S=1978:2,S
..
> You see the oldest message is dated back four days from now, and no 
> matter if I run the expire-tool without the --test option, it won't 
> expunge them.

Ah, but expunge plugin works on "save dates", not by mtime. The save
date is cached to dovecot.index.cache file and it's always older or
equal to file's ctime. So use ls -lc instead.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to