User Tools

Site Tools


This is an old revision of the document!

  • copy imap folder over.
  • chown all to cyrus:mail
  • make sure there's a cyrus.header file in there, (touch and chown it if not)
  • stop cyrus
  • /usr/lib/cyrus/reconstruct -rf user.newuser
  • start cyrus
  • fix ACL on new directories:
  • grab a directory listing one per line, create a vim script to change each line to 2 lines, and do the following: for eg:
    • dam user.newuser.copied-directory.“subdirectory with spaces” olduser
    • sam user.newuser.copied-directory.“subdirectory with spaces” newuser lrswipkxtecda
  • replace slashes with dots in sub/subdirectories
    • dam = delete acl on mailbox
    • sam = set acl on mailbox
  • paste the script into cryadm
move-cyrus-folder.1488178102.txt.gz · Last modified: 2017/02/27 14:48 by snarg