I didn’t do a move (mv) because I had a lot of ‘interesting stuff’ in the folder. This mailbox even has some mbox format files in it. I have no idea if they are even readable. I copied over cur, new, tmp and subscriptions. I didn’t see any of the other stuff in a cleanly created new account so I am trying to keep this migration clean.
Any of these other files I should move? Not doing so hasn’t hurt the box so far. Only thing are folders are stored as hidden files and cp didn’t touch them.
root@main:/home/backups/oooonew/mail/outofor.org/fred# ll
total 216
drwxr-x— 2 1406 1408 4096 Sep 7 2015 courierimapkeywords
-rw-r----- 1 1406 1408 102 Apr 4 2015 courierimapsubscribed
-rw-r–r-- 1 1406 1408 17037 Sep 7 2015 courierimapuiddb
drwxr-x–x 2 1406 1408 24576 Feb 16 13:46 cur
-rw-r----- 1 1406 1408 0 Sep 14 2015 dovecot-acl-list
-rw-r----- 1 1406 1408 7160 Feb 15 19:00 dovecot.index
-rw-r----- 1 1406 1408 32248 Feb 16 13:46 dovecot.index.cache
-rw-r----- 1 1406 1408 15196 Feb 16 13:46 dovecot.index.log
-rw-r----- 1 1406 1408 32924 Feb 14 14:49 dovecot.index.log.2
-rw-r----- 1 1406 1408 7174 Oct 20 2015 dovecot.index.thread
-rw-r–r-- 1 1406 1408 30 Sep 14 2015 dovecot-keywords
-rw-r----- 1 1406 1408 1944 Feb 14 16:39 dovecot.list.index
-rw-r----- 1 1406 1408 7092 Feb 16 13:43 dovecot.list.index.log
-rw-r----- 1 1406 1408 480 Nov 25 2021 dovecot.mailbox.log
-rw-r----- 1 1406 1408 54 Feb 18 19:09 dovecot-quota
-rw-r----- 1 1406 1408 19692 Feb 16 13:46 dovecot-uidlist
-rw-r----- 1 1406 1408 8 Nov 25 2021 dovecot-uidvalidity
-r–r–r-- 1 1406 1408 0 Oct 17 2015 dovecot-uidvalidity.56230f95
-rw-r----- 1 1406 1408 27 Feb 18 19:09 maildirsize
drwxr-x–x 2 1406 1408 4096 Feb 16 13:46 new
-rw-r----- 1 1406 1408 149 Nov 25 2021 subscriptions
drwxr-x–x 2 1406 1408 4096 Feb 16 13:46 tmp