Managing Cyrus partitions & managing from php?

Kristaps Armanis krisha.lists at grafton.lv
Fri Apr 13 09:13:06 EDT 2007


Hello!

Have done moving & upgrading here to 2.3.8 and brand new
hardware.
Old system was managed through perl using Cyrus::IMAP::Admin
Moving user to another partition for balancing was easy:
$client->renamemailbox("user/$username","user/$username",$partition)
        or warn "moveuser: " . $client->error;

Anyone can sugest how to do this from php?


And is there a way to quickly switch which partition is used
by autocreate patch "partition-default: /var/spool/imap8"
I read the patch and found function get_partition() before
creation, but how it can be used?
Else all users get partition "default".



Thank you! Any help would be nice! ;)
--
krisha




More information about the Info-cyrus mailing list