cyrus subscription files

Rob Siemborski rjs3 at andrew.cmu.edu
Wed Jul 23 14:02:42 EDT 2003


On Wed, 23 Jul 2003, joe ritter wrote:

> I believe this may have changed then in 2.1.X as I see
> for this particular user in rosetta.sub:
>
> user.rosetta
> user.rosetta.Trash
> user.rosetta.Sent Items
> user.rosetta.Recipes
> user.rosetta.password
>
> These are obviosuly not in alphabetical order but I
> logged in again after hand editing this file and
> running reconstruct and all these folders now showed
> up?

x LSUB "" "*" will obviously still work, however due to the binary
searching that is used to find folders when more specific searching is
done, they need to be in alphabetical order.

Say I have:

gobo:i386_rh80:/imap/conf/user/r# cat rjs3.sub
user.rjs3
user.rjs3.Trash
user.rjs3.Sent Items
user.rjs3.Recipes
user.rjs3.password
test

Now I get:

x lsub "" "*"
* LSUB (\NonExistent \HasChildren) "." "INBOX"
* LSUB (\NonExistent) "." "INBOX.Trash"
* LSUB (\NonExistent) "." "INBOX.Sent Items"
* LSUB (\NonExistent) "." "INBOX.Recipes"
* LSUB (\NonExistent) "." "INBOX.password"
* LSUB (\NonExistent) "." "test"
x OK Completed (0.000 secs 7 calls)
x lsub "" "test"
x OK Completed (0.000 secs 1 calls)

This is solely because "test" should be above "user" in the list.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper





More information about the Info-cyrus mailing list