Archives mails of an IMAP4-folder by its age in years

Usage: [folder] [age]

folder: imap4-folder (e.g. ~/Maildir/.MyMails.MyFolder)
age: Maximum age in years

Alle mails of the given folder will be moved to the archive-folder, if they are older than the given age.

Example: ~/Maildir/.MyMails.MyFolder 5


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code lang=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" extra="">