Question about using ipurge

Andrés Tarallo Andres.Tarallo at linux-sudamerica.com
Wed Oct 18 17:39:59 EDT 2006


I've misunderstood the man page. Thanks 

> On Tue, 17 Oct 2006, Andrew Morgan wrote:
> 
> > On Tue, 17 Oct 2006, AndrXs Tarallo wrote:
> >
> >> We need to clean certain mails from a mailbox. Specifically we are
> >> trying to clean mails older than 30 days. So we execute (as cyrus)
> >> this command:
> >> 
> >> ipurge -d 30 username
> >> 
> >> It returns almost inmediately but nothing happens and the mails remain
> >> there. We didn't use -f flag because we were affraid of deleting all
> >> mailboxes.
> >> 
> >> Thanks in advance
> >
> > Have you tried using "ipurge -d 30 user.username"?
> 
> Whoops, the manpage says:
> 
>         Ipurge  by  default  only deletes mail below shared folders, which
>         means that mails in mailbox(es) below INBOX.* and user.* stay
>         untouched. Use the option -f to also delete mail in mailbox(es)
>         below these folders.
> 
> So you'll have to use the -f option.
> 
>  	Andy
> 
> 

A/P Andres Tarallo
WD&B Consultores
Montevideo - Uruguay


More information about the Info-cyrus mailing list