Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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

    Feb 10, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

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

    1. In /home/foobar/mail I have a directory called 'foo' and a directory called '' 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/ 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. Support Ticket Number:
  2. ciphervendor

    ciphervendor Well-Known Member

    Aug 26, 2002
    Likes Received:
    Trophy Points:
    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: directory :: user.mail / 755
    POP username inside :: user.mail / 750
    inbox file inside :: user.mail / 660 Support Ticket Number:

Share This Page