Thanks everyone for the help. We're using qmail, Vpopmail, Dovecot and
Squirrelmail. If there is something built in to Dovecot I could try that.
The squirelmail plugin doesn't really look at the date of the message, and
can only be set to remvoe entire trash after x number of days or x number of
logins. I'll also have a look at Bill's script to see if I can apply it.
So is the find command I listed not a sae way of going about it?
Maybe Cron it for every 30 days or something?
Matt
> -----Original Message-----
> From: Bob Miller [mailto:[email protected]]
> Sent: November-07-12 10:28 PM
> To: [email protected]
> Subject: Re: [qmailadmin] [SPAM] Auto-empty trash items older
> then a certain age
>
> 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:509ba59a33991940411041!