Webuzo email migration

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. :frowning:

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

Just for clarity, now that I’ve recreated this account I did find that the system does use these but doesn’t keep them in the client directory.

/var/lib/dovecot-virtualmin/index/herm@cisnemin.com/.Drafts/dovecot.index.log
/var/lib/dovecot-virtualmin/index/herm@cisnemin.com/.INBOX/dovecot.index.log
/var/lib/dovecot-

Not having them does seem to impact the client. Mostly the filters that put things in the right folder seem to break and they have to be re-enabled for each filter. :frowning: Not sure I trust trying to put them into the system files though.

Mostly at staff but anyone with knowledge. It might make life easier if I move the dovecot files to the /var/lib/wherever they belong directory/
Some are being recreated. Not sure if the ones I haven’t seen so far will make a difference as they are all dovecot. Just use ‘no clobber’?
dovecot-acl-list
dovecot.index.log.2
dovecot.mailbox.log
dovecot-uidvalidity.5820b658
dovecot.index
dovecot-keywords
dovecot-quota
dovecot.index.cache
dovecot.list.index
dovecot-uidlist
dovecot.index.log
dovecot.list.index.log
dovecot-uidvalidity

It occurred to me to change the config to just put the dovecot folders in the home folder. It seems that is the ‘default’ but Webmin uses a custom setting to put it in /var/lib set for some reason? Is that to keep the files away from customers or has it spawned some other problem in the past?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.