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. Cheers, James
Description: S/MIME cryptographic signature
Description: This is a digitally signed message part