Re: [suse-imap-e] how to rename a user (cyrus and ldap) in email server 3

From: rhh (rhh@bytron.com)
Date: Thu Feb 21 2002 - 07:45:35 PST

  • Next message: Christoph Haas, WGUV / IuK: "RE: [suse-imap-e] how to rename a user (cyrus and ldap) in email server 3"

    From: rhh <rhh@bytron.com>
    Date: Thu, 21 Feb 2002 15:45:35 +0000
    Message-Id: <20020221153858.70E3737413@bytron.com>
    Subject: Re: [suse-imap-e] how to rename a user (cyrus and ldap) in email server 3
    

    Create the new user in the normal way i.e through the web interface.

    Using a shell change directory to /var/spool/imap/oldusername and tar
    together contents i.e "tar cvf usermail.tar *"

    Move the tar file into the new users directory i.e
    "mv /var/spool/imap/oldusername /var/spool/imap/newusername "

    Change directory to /var/spool/imap/newusername and use tar to extract the
    files i.e "tar xvf usermail.tar"

    This has worked for me in the past, although I'm using Email Server II so not
    sure if you have to do anything else for version III.

    On Thursday 21 February 2002 15:10, Christoph Haas, WGUV / IuK wrote:
    > Hi,
    >
    > > -----Original Message-----
    > > From: rhh [mailto:rhh@bytron.com]
    >
    > [snip]
    >
    > > Might be less painful just to create a new account and copy the
    > > mail across.
    >
    > and how to do that in order that all cyrus-database entries are correct? I
    > think it can't be done by just copying the files from
    > /var/spool/imap/user/oldusername to /var/spool/imap/newusername ...
    >
    > Meanwhile I've tested renaming the uid of a testuser named "test" to
    > "tester" via the webinterrface LDAP-Browser. It seemed looking good first,
    > but as I tried to edit this user via the webinterface "user" - "edit" menu,
    > I get an error message:
    > "LDAP-server return code: 32 Message: LDAP_NO_SUCH_OBJECT
    >
    > : The server cannot find an object specified in the request"
    >
    > And when trying to rename the mailbox of this test-user with:
    > mail:~ # su - cyrus
    > cyrus@mail:~ > cyradm --auth plain localhost
    > Please enter your password:
    > localhost>renamemailbox user.test user.tester
    >
    > I get an error message:
    > "renamemailbox: Operation is not supported on mailbox"
    >
    > sh.t! =:<<
    >
    > Any ideas???
    >
    > Christoph.

    -- 
    To unsubscribe, e-mail: suse-imap-e-unsubscribe@suse.com
    For additional commands, e-mail: suse-imap-e-help@suse.com
    



    This archive was generated by hypermail 2.1.0 : Thu Feb 21 2002 - 07:39:18 PST