The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Importing and INBOX's

Discussion in 'General Discussion' started by cPanelKyle, Jul 1, 2003.

  1. cPanelKyle

    cPanelKyle Technicial Analyst III/Migrations Specialist
    Staff Member

    Joined:
    Feb 10, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Twitter:
    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:
     
  2. ciphervendor

    ciphervendor Well-Known Member

    Joined:
    Aug 26, 2002
    Messages:
    1,052
    Likes Received:
    0
    Trophy Points:
    36
    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:
     
Loading...
Similar Threads - Importing INBOX's
  1. Dradden45
    Replies:
    1
    Views:
    147

Share This Page