Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member
    Join Date
    Dec 2007
    Posts
    44

    Default IMAP folders not showing up after ensim transfer

    I'm sure there are lots of posts on this but after searching for a while i didn't find the solution.

    I have just done a transfer from an ensim server.

    The customer uses IMAP for his email and has created lots of folders for them.

    The folders have been transfered across but no longer show up when he logs in. He is using thunderbird to view his emails.

    There are some large files in /home/username/ with the rest in /home/username/mail/domain.co.uk/emailuser/

  2. #2
    Member
    Join Date
    Sep 2004
    Location
    inside a catfish
    Posts
    963
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Legin76 View Post
    I'm sure there are lots of posts on this but after searching for a while i didn't find the solution.

    I have just done a transfer from an ensim server.

    The customer uses IMAP for his email and has created lots of folders for them.

    The folders have been transfered across but no longer show up when he logs in. He is using thunderbird to view his emails.

    There are some large files in /home/username/ with the rest in /home/username/mail/domain.co.uk/emailuser/
    I don't use Thunderbird, but check and make sure that in his Thunderbird he has reset his folder list... i.e. make sure that he has re-subscribed to the folders. If he is using an existing configured IMAP account in Thunderbird, he'll probably have to reset the folder list (I think that's the term used in outlook) - I'm not sure the term in Thunderbird.

    See if that fixes it.

    Mike

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Do the folders display via webmail while logged-in as the affected e-mail account user? When testing webmail, please try all (3) available options to help verify the results, including Horde, SquirrelMail, and RoundCube.

    It may be that Thunderbird is not subscribed to the correct folder list; like mtindor mentioned, it may help to access the e-mail account configuration in Thunderbird to refresh the folder list and verify they are all subscribed.

  4. #4
    Member
    Join Date
    Dec 2007
    Posts
    44

    Default

    No they do not show up in any of the webmail programs. I wonder if the files are in the wrong location of have the wrong permissions.

    I'll try accessing it myself using outlook and create new folders to see what happens to them etc. If i can work out where the new ones are and their setting I may be able to apply it to the old ones.

    If there is anything else you think i should try please let me know.

  5. #5
    Member
    Join Date
    Dec 2007
    Posts
    44

    Default

    Ok I've done some intensive testing in outlook, thunderbird and redcube and have worked out the following.

    All three programs use the same method but effectively each of the email folders are found in /home/marine/mail/domain.co.uk/username and are basically a folder with a few subfolders one of which contains the emails as individual files.

    Ensim creates a single file which contains all the emails which are saved in /home/virtual/site##/fst/home/usrname on the original server and end up in /home/username after the transfer. There is no directory structure they are just single files for each folder.

    I've tried moving one of the ensim mail files to /home/marine/mail/domain.co.uk/username but despite many folder re syncs they do not show up.

    From what I can see the folders need to be recreated then the large email files need to be broken up into individual files with the appropriate names then put into the cur file of the relevant folders.

    I need an automated way to do this.

  6. #6
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    What method was used to transfer the account from the Ensim server?

    If mail data was copied manually and if that was from e-mail stored in the mbox format, you will need to run the mbox to maildir conversion tool. Here is our documentation detailing this further including some of the differences between the two formats:
    MailDirConv < AllDocumentation/WHMDocs < TWiki

    If needing to initiate the mbox to maildir conversion tool, including if you need to reconvert after manually copying data from an mbox-based system, here is the command you may use via root SSH access to start this process:
    Code:
    # /scripts/convert2maildir
    If the manually copied data was in the maildir format, or just as a precaution, I would check to ensure the e-mail data has correct ownership and permissions, using the following command via root SSH access:
    Code:
    # /scripts/mailperm --verbose

  7. #7
    Member
    Join Date
    Dec 2007
    Posts
    44

    Default

    Quote Originally Posted by cPanelDon View Post
    What method was used to transfer the account from the Ensim server?
    It was done using the cpanel transfer system..

    I tried running the conversion script from the the cpanel admin but had no luck.

    It appears the script only runs within "/home/username/mail/" but even the one that I moved there did not work.. The ones in /home/username/ were not touched but I think they are in maildir format but needs the physical files/folders..

    I've moved a second file to /home/username/mail/domain.co.uk/username and tried at again with no change.

  8. #8
    Member
    Join Date
    Dec 2007
    Posts
    44

    Default

    Currently the server is using the Courier mailserver. I'm not sure if this makes any difference but I'll convert it to Dovecot tonight.

  9. #9
    Member
    Join Date
    Dec 2007
    Posts
    44

    Default

    As suspected it didn't make any difference.

  10. #10
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Please consider submitting a ticket (via the link in my forums signature) so that we can take a closer look at the issue, including the directory structure and format of the mail files.

Similar Threads & Tags
Similar threads

  1. Shared imap folders - possible ?
    By jeroman8 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-09-2007, 09:19 PM
  2. IMAP folders lost
    By steve123 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-20-2006, 10:24 AM
  3. IMAP Folders
    By fluidata in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-01-2004, 09:37 AM
  4. Shared IMAP Folders
    By nost in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-17-2003, 11:17 AM
  5. IMAP folders
    By carperman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-22-2003, 07:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube