Managing Cyrus partitions & managing from php?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


----
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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux