Re: procmail + cron for regular email cleanup?
On Fri, 15 Nov 2002, Chun Kit Edwin Lau wrote:
> Hi everyone,
>
> I want to cleanup my sent mailbox regularly. If any email in
> the mailbox is more than 2 months old, the email should be purged from
> the mailbox. I am thinking using cron + procmail to do the job, but I
> don't know how. Anyone one?
>
Hi,
if you are using mutt you can add this macro to your .muttrc:
macro index q "<delete-pattern> ~d>60d<enter><quit>"
Oliver
--
... don't touch the bang bang fruit
Reply to: