Question about using ipurge

Andrew Morgan morgan at orst.edu
Tue Oct 17 12:56:20 EDT 2006


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


More information about the Info-cyrus mailing list