Physical Location of emails

6 posts / 0 new
Last post
#1 Thu, 09/29/2011 - 12:59
zer0

Physical Location of emails

Hi, My ubuntu 8.04 machine crashed and file system is corrupted, i cant boot it, so i'm booting with ubuntu live cd trying to manually backup the /etc/webmin folder ( i believe it contains all the settings) but i cant find the folder which contains the actual emails of the users. Can someone please guide me as to where the folder is?

Thank you

Thu, 09/29/2011 - 13:02
andreychek

Howdy,

Email is located within the home directory for each user, in the Maildir folder.

The Virtual Server owner's email would be in /home/VIRTUAL_SERVER_OWNER/Maildir.

The email for any other user would be in /home/VIRTUAL_SERVER_OWNER/homes/USERNAME/Maildir.

-Eric

Thu, 09/29/2011 - 17:04 (Reply to #2)
zer0

Thank you Eric.

if i do backup and restore on another machine would the mailbox including all the emails be restored too?

Thank you

Thu, 09/29/2011 - 17:10
andreychek

Yup, if you use Virtualmin's Backup and Restore to generate a set of backup files -- if you restore them on another machine, email would be included in that.

-Eric

Thu, 09/29/2011 - 17:30 (Reply to #4)
zer0

thats good to hear, but the size of the backup file generated by virtualmin is about 2gb, where the size of folder containing all the email mailboxes is over 3gb.

Thu, 09/29/2011 - 18:28
andreychek

Well, the email is just text, and the backup files are all compressed... so it wouldn't surprise me if the backup file and email folders didn't have matching sizes.

-Eric

Topic locked