So, I got this ancient server running at home. It's a mail server for 5 users. All are IMAP based and all mail is stored on the server. Just recently I've upgraded the hard disks in the server computer and I wanted to move the mail storage from the system disk to another one. The server manager allows paths to IMAP database and IMAP storage to be typed in (or browsed for). What I did was: - stop the mail server, - copy all contents from old location to the new one using root privileges (using Midnight Commander in a remote terminal session), - type the new paths into the server manager, save, - start the mail server. The effect was: - mail clients see empty IMAP mailboxes, although the contents of both pairs (old/new database folder. old/new mailbox folder) are exactly the same. Question: how do I move all existing IMAP mailboxes from one folder to another intact, so the users do not notice anything has changed apart from better performance?