Quoting Ross Carlson <[EMAIL PROTECTED]>: > Hello all, > > I recently moved my mail system to Courier IMAP with Postfix and > Squirrelmail. Several of my users (including me) use the features of > Squirrelmail and Eudora which move deleted mail into the Trash mailbox > instead of marking it as deleted and later purging. > > So, several of the Trash mailboxes get rather large, mostly filled with > deleted spam. I'm wondering if there is a script out there already written > that will delete all Maildir files older than a given age from a given > folder. This script would be run nightly by cron, and I would feed it a > list of user names or even absolute paths to the mailboxes I want purged. > (I may also do this with the "Sent" mailbox for each user.) > > If there is no such script already written, I could write one myself, but I > want to make sure that simply deleting files beyond a certain age is a > sufficient tactic for purging mailboxes. > > Thanks for any input or pointers.
Hi Ross, I'm using archivemail which is a simple and effective tool that supports multiple mail formats, also Maildir. It allows you to archive/compress/delete selected messages based on age. The archivemail website is at: http://archivemail.sourceforge.net/ Hope this helps, Erik ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
