Moved addon domain to default domain - mail not working

SeanLee

Well-Known Member
May 23, 2004
52
1
156
I have a customer with foo.com as his default domain and foobar.com as an addon (parked) domain. He was already set up for foo.com as far as web and email go. He recently requested that I make foobar.com his real domain, and have foo.com just be an addon (parked) domain.

Here's what I did:
- Deleted foobar.com as a parked domain.
- Changed his account domain name to be foobar.com
- Added foo.com as a parked domain

Now when he logs into sqmail, everything shows up as being empty. What do I need to move in order for him to get his old mail back?

Thanks,

-Sean
 

SeanLee

Well-Known Member
May 23, 2004
52
1
156
*update*

So, after taking a look at this thread:
http://forums.cpanel.net/showthread.php?t=26571&highlight=mailbox+empty

I figured out that for some reason, sqmail was still using the old domain, which is located at:

/home/user/mail/foo.com/mailname

There was also a:

/home/user/mail/foobar.com/mailname

So, I made a backup (just in case), then removed the foo.com directory, and just made a sym link from foo.com to foobar.com. Now everything works.

-Sean