Renaming top level mailboxes
Andrew Morgan
morgan at orst.edu
Wed Jun 23 15:14:40 EDT 2004
On Wed, 23 Jun 2004, Rob Tanner wrote:
> Is it possible in in Cyrus Imap to rename top level mailboxes? Or, if not,
> are there plans in a future release?
>
> There are time when I need to rename "user.jsmith" to "user.jjones" and our
> current process is to delete the account. If there is no option currently in
> Cyrus, are there any workarounds. Since all of our account management is
> done remotely, I would like to be able to rename the user without having to
> be locally on the mail server itself.
>
> Thanks,
> Rob
>
> --
>
> Rob Tanner
> UNIX Services Manager
> Linfield College, McMinnville OR
Hi Rob (waves north from Corvallis, OR)...
We do a copy then delete process to rename user's mailboxes when their
usernames are changed. I've attached the scripts we use to this message.
The scripts reference a file "prefs.pl" which contains the site-specific
stuff like mail server hostname, admin user, admin password, etc. You
should be able to create one of your own easily enough.
I'd be happy to donate these scripts to the Cyrus Wiki, but I confess that
I'm not familiar with creating a new "page" in the Wiki to contain and
describe these scripts.
Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: utils.pl
Type: application/x-perl
Size: 1194 bytes
Desc:
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040623/02dc2c83/utils.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: delete_user_mail.pl
Type: application/x-perl
Size: 699 bytes
Desc:
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040623/02dc2c83/delete_user_mail.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy_user_mailbox.pl
Type: application/x-perl
Size: 4895 bytes
Desc:
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20040623/02dc2c83/copy_user_mailbox.bin
More information about the Info-cyrus
mailing list