moving squirrelmail mail boxes to other web host

Posted on 2013-01-17
Last Modified: 2013-01-25
Hello Experts.

I am moving web site from one host company to other.
I have few user accounts which use Squirrel Mail.
The apparent data are in folders like /home/user_name/mail
Another host has Web-based email reader called "Webmail" which has the same icon as "Squirrelmail".

How to move data?
What is the data format?
Which program reads these data?
The data - content of /home/user_name/mail folder is a directory tree.

I backed these trees up, but don't know what next?

Thank you.
Question by:Bitlab
  • 3
  • 3
LVL 33

Expert Comment

by:Dave Howe
ID: 38792465
Squirrelmail doesn't usually *have* mailboxes - that may take some explanation, so I will provide it :)

Squirrelmail is designed to access a mailbox via the industry standard "IMAP4" protocol; it will therefore work happily with whatever mail system you have, provided that it provides IMAP4.

Squirrelmail however *also* needs to store its own settings (preferences, address books, that sort of thing) and for that it has a separate set of files (usually in /var/lib/squirrelmail/data)

many *nix mail solutions (for example, postfix or exim) do in fact use /home/<username>/mail as a store for the user's email structure; you can migrate that manually, if your new hosting provider also uses that scheme, or you can use IMAP to both to just drag-and-drop the old mail across (there is nothing magical about using squirrelmail to access the mail)

Author Comment

ID: 38795402
Thank you for clarifications.

Sorry perhaps I did not explain my question well.

It probably does not matter which is Squirrel's structure or address books, etc.
It probably does not matter how  it fetches mail or how it connects to mail server.
The matter is how to migrate about 5Gig of old emails.
I don't want loose them.
By "apparent data" I mean I can read this binary data by vi and see emails are really there, and folder tree structure is the same as I see on Squirrel Web interface.

How can I detect the format, which program/version can read it? Is this data a proprietary Squirrels data? Should I convert them to new account or not?

If on new server, I create "mail" folder under user's name and drop the tree there, will it corrupt Squirrel or not? how reliable will system work if work at all?

Thank you.

Author Comment

ID: 38798375
Thank you for your assistance one more time.

I made more attempts. I tried import to Evolution, but in vain.
Import attempt
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 33

Accepted Solution

Dave Howe earned 500 total points
ID: 38800718

Author Closing Comment

ID: 38815586
Thank you, Dave.

I will try ...
So far, no luck.

There are a few options on the way Menu -> Edit -> Preferences -> Edit Account -> Receiving Email:

MH-format ...
Mail-dir format ...
Standard Unix ... dir
Standard Unic ... file

... so far, no luck ... I expect there appears a folder on Evolution GUI from where mail
can be read, but this does not happen.
LVL 33

Expert Comment

by:Dave Howe
ID: 38818189
Ok, just tested with evolution on my exim host (which uses maildir, each user home folder has a maildir folder in it) and selecting maildir *almost* did the right thing. I also had to select a custom folder, and from there /home/<username>/maildir
(you can change that after the fact via edit>>preferences>>Mail Accounts>>Edit>>Receiving Email)

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
This story has been written with permission from the scammed victim, a valued client of mine ā€“ identity protected by request.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: ā€¦
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail sā€¦

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question