[Dovecot] Move to a Specific Folder

Eduardo M KALINOWSKI eduardo at kalinowski.com.br
Thu Sep 17 20:35:15 EEST 2009


On Qui, 17 Set 2009, Darvin Denmian wrote:
> Is there a way to automatically expurge or move messages from a
> specific folder to another folder after "X" days?
>
> Where "X" specifies the amount of days that messages in folder will be kept.

If it's maildir, you can use find(1) to search the messages and mv(1)  
them to another folder.

The next time the folders are opened dovecot will update the indexes.


-- 
Eduardo M KALINOWSKI
eduardo at kalinowski.com.br



More information about the dovecot mailing list