if you happen to be using dovecot, a good server-side soltuion is to set up doveadm to purge old messages using cron.
On Wed, 2012-11-07 at 17:43 -0500, Matt Rauch wrote: > Hello, > > Sorry if this isn't the place to ask, but I've looked all over and > haven't managed to find a clear solution. I'm looking for a way to have > items that have been in the user's .Trash folder for a certain period of > time (lets say 30 days or older) removed automatically. I thought there must > be built-in functionality for this, or a script someone has come up with to > manage this sort of thing. I've see a squirrelmail plugin that does it based > on number of logins or every x number of days, but it empties the whole > trash and doesn't check each message's age individually. > > Any help would be greatly appreciated. > > Thanks, > > Matt Rauch > > > > > !DSPAM:509afdbf33991822061207!