-- David Carter said the following on 10/28/05 4:11 AM:
On Thu, 27 Oct 2005, [EMAIL PROTECTED] wrote:

Since you've looked at the code, what about: squatter -r 'user.a*'

That will look for mailboxes matching user.a*.* which would match "user.abc123.foo2 but not "user.abc123".

The code just adds ".*" to the end of any string that you give it, hence the slightly odd wording in the manual page:

 -r: Recursively create indexes for all submailboxes of the mailboxes
     or mailbox prefixes given as arguments.

That just seems so odd. I wonder why they did that? ipurge doesn't seem to do that....

I had the same concern. I made a small change to my Cyrus install so that it only squats a fraction of the mailboxes each night using some simple modulo arithmetic (e.g: squatter -m0 -M5 squats 1/5th of the mailboxes).

Care to share? I'd love to be able to provide this indexing for folks so that they can experience faster searching, but there's no way we can run squatter on the entire server in one night. :-(

Amos

----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to