procmail
[Top] [All Lists]

Monthly cleanup/archiving?

2002-02-10 20:29:34

When I delete my mail it goes to my Trash mailbox which is one large file.
I would like to be able to have a cron job run that once a month would
filter all of the mail in the Trash folder and take all of the message with
last months date or older and put them in a new file called archive/{month}
{year}.  For example if I ran the filter now it would look in my Trash file
and take all of the messages for last month and put them in a file called
~/mail/archive/jan2002 and remove them from the Trash folder.  Can ProcMail
do this?  If so how do I do this?

Thanks
Tim
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>