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.


=================================
Ross A. Carlson
Metacraft Internet Services
[EMAIL PROTECTED] / 802.860.7006
http://www.metacraft.com/
=================================



-------------------------------------------------------
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

Reply via email to