James,
Patrick is entirely correct. As explained in the man page for
ctl_mboxlist(8) the "-f" flag is to specify an alternative input file
(mailbox database) not an output file. Output is via standard out, and
can redirected into the file of your choice, or piped to the new host,
like so:
On 05/12/2018 06:03 PM, James B. Byrne via Info-cyrus wrote:
I have used rsync to move our entire maill store from the old server
to the new. I now I wish to move the contents of mailboxes.db from
the old to the new. I have tried:
sudo -u cyrus /usr/lib/cyrus-imapd/ctl_mboxlist -d -f
/var/spoo
I have used rsync to move our entire maill store from the old server
to the new. I now I wish to move the contents of mailboxes.db from
the old to the new. I have tried:
sudo -u cyrus /usr/lib/cyrus-imapd/ctl_mboxlist -d -f
/var/spool/imap/mailboxes.db.txt
on the old followed by a transfer of /