[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: remove old trash from imap, server side



On Fri, 2005-12-30 at 12:09 +0000, Adam James wrote:
> On Thu, 2005-12-29 at 14:47 +0800, Chris Purves wrote:
> > Hello,
> > 
> > I am running courier IMAP using maildirs.  I would like to know what
> > is the best way for removing mail from the trash folder that are older
> > than six months.
> > 
> > Is there any functionality built into courier or should I make a cron
> > job?  What are others doing?
> 
> From '/etc/courier/imapd':
> 
> ##NAME: IMAP_EMPTYTRASH:0
> #
> # The following setting is optional, and causes messages from the given
> # folder to be automatically deleted after the given number of days.
> # IMAP_EMPTYTRASH is a comma-separated list of folder:days.  The default
> # setting, below, purges 7 day old messages from the Trash folder.
> # Another useful setting would be:
> #
> # IMAP_EMPTYTRASH=Trash:7,Sent:30

Nah, that's too easy!!!

-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA

"If the word has the potency to revive and make us free, it has
also the power to bind, imprison and destroy."
Ralph Ellison



Reply to: