Go Premium for a chance to win a PS4. Enter to Win


moving squirrelmail mail boxes to other web host

Posted on 2013-01-17
Medium Priority
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

LVL 33

Accepted Solution

Dave Howe earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
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…

877 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