25 Jan
2010
25 Jan
'10
5:41 p.m.
On 2010-01-25 8:53 AM, gstyle wrote:
Every night I run a script calling archivemail ( http://archivemail.sourceforge.net/) to delete all messages in the Spam folder that are older than 30 days
archivemail deletes the files directly in the Maildir folder. I am not using IMAP for this (cause I don't want to store the passwords in plain text).
I know that dovecot uses index files to speed up Maildir access. Will there be any problems with the index files when I delete the old spam like this?
No, the indexes are self-healing, but...
You'd be better off upgrading to the latest stable version (via backports) and using the expire plugin - its made for doing things just like this.
http://wiki.dovecot.org/Plugins/Expire
--
Best regards,
Charles