[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Rant] The Endless Search for a Mail Client That Doesn't Suck



Brian Nelson <pyro@debian.org> writes:

> 6. It must have a decent expiry system.

You don't need a mailclient to have a decent expiry system if you are
using Maildir.  Since all new mail goes into {MAILBOXNAME}/new and all
read mail goes into {MAILBOXNAME}/cur, you can use this script to delete
all read mail over a certain date:

find ~/Mail/*/cur -type f -mtime +30 -print0 | xargs -0r rm

Plug this into your cron and you have a decent expiry system. (It's
basically what I have done).

-- 
John L. Fjellstad
web: http://www.fjellstad.org/          Quis custodiet ipsos custodes



Reply to: