Recovering emails from "dead" server

Mark | Small World Systems mark.challice at smallworldsystems.co.uk
Tue Oct 29 20:29:46 EET 2019


I have a Linix server that won't boot.  I've patched in a live CD and
mounted the original HDDs so I can browse the files using SSH.  

I am trying to find where all my customer emails are stored so that I can
(hopefully) copy them off this "dead" server onto a new server which is also
running cPanel and Dovecot.

Does anyone know where Dovecot stores emails for each email account when it
runs under cPanel?

I can see a directory called /home/<cpanel username>/mail/<domain
name>/<mail username>

(I've used <xxxxx> in place of the actual text to obviscate the actual user
information).

If I navigate to that directory I can see lots of interesting sub
directories e.g. cur, new and tmp plus some files such as:

dovecot.index.cache, dovecote.index, dovecote-uidlist

But then I'm stumped.  I was hoping to find a big fat directory that
contained all the mail files.

Is anyone able to tell me what I need to copy across to get all the old
emails off the "dead" server onto the new one?

Thank you. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20191029/5a0484f2/attachment.html>


More information about the dovecot mailing list