Migrating email accounts via the CLI (from a recovered HDD)

dingham

Verified User
Joined
Jun 6, 2008
Messages
17
Location
London, England
Hi Guys,
I'm try to recover a user account from an old server backup, and whilst I've been able to find & restore most of the user's config & files, I haven't managed to get DA to pick up his old email accounts & the associated mail.

Do I have to re-add email accounts manually?
How do I go about getting it to pick up the mail in the ~/imap/$domain/$user/mail and ~/imap/$domain/$user/Maildir filders?

Cheers,
Doug
 
oops, forgot the stuff in Virtual.
Copying the configs over & reloading the necessary daemons will fix this.

/etc/virtual/$domain/
 
If you have the old hard drive mounted you could have chroot'd to that drive and let DirectAdmin make complete backups.
 
Back
Top