I just gave a basic sample of how he could use the find command to do
this.. I am sure someone could make it a little better, it was just a quick
off the top of my head script

-John

----- Original Message ----- 
From: "Bill Shupp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 28, 2004 12:11 PM
Subject: Re: [toaster] Auto Expiring Mail


> trevor wrote:
>
> >
> >
> > Jason 'XenoPhage' Frisvold wrote:
> >
> >> On Wed, 2004-04-28 at 12:02, trevor wrote:
> >>
> >>
> >>> sure in /usr/lib/courier-imap/etc/imapd  edit the line:
> >>>
> >>> IMAP_EMPTYTRASH=Trash:3,Sent:14,Spam:14
> >>>
> >>> in this case trash gets deleted after 3 days, sent in 14, and spam in
14
> >>>
> >>
> >>
> >> Is this for Imap users only?  I guess I need to read up a little..  :)
> >>
> > yes i think IMAP only so someone correct me if i'm wrong
>
> It is IMAP only.  POP does not support server side "folders".  However,
> keep in mind that the deletion will only occur when the user logs in via
> IMAP.  So, if they don't log in for a while, it's possible for the
> mailbox to fill up and bounce messages even though some messages should
> be deleted due to age.
>
> Ideally, the local delivery agent could handle this.  But it does add a
> bit of overhead for *every* message delivered.  I wonder how Yahoo Mail
> and the like handle this?  Anyone know?
>
> Probably the most realistic solution is a cron job that runs nightly, as
> was previously suggested.  That would be pretty easy to script.
>
> Regards,
>
> Bill Shupp
>

Reply via email to