[Dovecot] Move to a Specific Folder

Andrew Schulman andrex at alumni.utexas.net
Thu Sep 17 20:36:10 EEST 2009


> Is there a way to automatically expurge or move messages from a
> specific folder to another folder after "X" days?

I use a daily cron job for this.  It runs a script that deletes messages
more than 6 months old from the Junk folder.

If you can do this directly in Dovecot, then I guess that's better, because
it will keep the folder indexes up to date.  But I move messages around
outside of Dovecot and it works fine.  Dovecot updates the indexes when I
view the folder, and there's not much delay.

A.



More information about the dovecot mailing list