On Wed, 2008-10-29 at 15:25 +0100, LÉVAI Dániel wrote: > >> That is, if I want to expire the emails under the spamassassin/SPAM > >> directory, after 1 day. Is this correct? I'm asking this because with > >> this setup, the expire-tool does nothing... nothing in the logs either. > > > > Try and set mail_debug=yes. It should log more. > Done. > > When I ran `dovecot --exec-mail ext > /usr/local/libexec/dovecot/expire-tool --test', it told me that: > Info: leva/spamassassin.SPAM: stop, expire time in future: 1225290174
Sounds like it's working. It just wasn't time yet to expunge the oldest mail from there: % unix2date.sh -u 1225290174 Wed Oct 29 14:22:54 UTC 2008 Running it again now would show that it's going to expunge it? I suppose I should change the code to show the timestamp in user-understandable form. :)
signature.asc
Description: This is a digitally signed message part