[Dovecot] Delete messages with archivemail

Charles Marcus CMarcus at Media-Brokers.com
Mon Jan 25 17:41:55 EET 2010


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


More information about the dovecot mailing list