On Sat, Aug 05, 2006 at 10:44:45AM +1000, James Gray wrote: > Hi All, > > I'm running a Courier IMAP server with Postfix MTA for my own > personal network (with a handful of POP3 users). The problem is that > I often use different mail clients. Some support automatic archiving > (deleting), others don't. So it got me thinking about server-side > solutions. > > Basically I'd like to run a script once a day that churns through my > personal IMAP folders and removes messages older than X days. Some > folders I want to expire after 7 days, others 3 weeks, others 3 > months. I've already written the script to identify the messages but > currently just lists them. Given that my IMAP store is maildir, is > there any problem with simply deleting the messages straight from the > maildir? Or is there some sort of referential integrity checking > that I need to maintain within maildir? > > Any pointers gladly accepted, clue bats welcomed too.
have you had a look at archivemail works with mbox, maildir and with imap > > Cheers, > > James > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
signature.asc
Description: Digital signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
