#1 (permalink)  
Old 07-01-2003, 02:28 PM
Staff Member
 
Join Date: Feb 2003
Posts: 53
cPanelKyle is on a distinguished road
Importing and INBOX's

Hello,

I have used the Alabanza script to import my accounts into CPanel. Let's say one of the domains I imported was called foobar.com with the username of foo.

1. In /home/foobar/mail I have a directory called 'foo' and a directory called 'foobar.com' with a subdirectory in there called 'foo'. Both the foo directories contain a 'inbox' file. The inbox file in /home/foobar/mail/foo contains all my old E-Mail that was imported in by the script. The inbox file in /home/foobar/mail/foobar.com/foo contains all new E-Mail that was sent after the transfer/DNS was cut over. When I open Horde, it is pulling up the new E-Mail and not the old. Where is the inbox file suppose to be and how can I get both of the files combined? I don't quite understand why it imported my messages in /home/foobar/mail/foo?

2. Who has to have ownership in the mail directory? Is it foo:foo or foo:mail?

Any assistance would be greatly appreciated.

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-01-2003, 02:53 PM
Registered User
 
Join Date: Aug 2002
Posts: 1,052
ciphervendor
This is pretty simple to fix as long as the old file is in mbox format. Do the following in the user or root shell:

cat /path/to/old/inbox/file >> /path/to/new/inbox/file

Perms & own within the mail directory:

domain.com directory :: user.mail / 755
POP username inside :: user.mail / 750
inbox file inside :: user.mail / 660

cPanel.net Support Ticket Number:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:41 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc