Skip to content. | Skip to navigation

Sections
Personal tools
What is this?
Hi, my name is Tom Lazar and I'm a Plone and Zope developer based in Berlin, Germany and this is my personal and professional (no big difference, really...) website.
 

Caveat when transferring cyrus users

Filed Under:

Note to myself: when transferring mails of a cyrus users from one machine to another account on a different machine it is important to adjust the ACLs on the new machine.

I now use the following procedure:

  • transfer the spool files from /var/spool/imap/old-user on the old machine to a temporary space on the new one
  • create the new user on the new machine.
  • Move all spool files from the temporary space into /var/spool/imap/new-user/
  • run reconstruct:
    /usr/local/cyrus/bin/reconstruct -rf user.new-user
  • give the new user access to the folders:
    cyradm localhost
    sam user.new-user* new-user lrswipcda
  • voila!