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
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to