Solved

moving squirrelmail mail boxes to other web host

Posted on 2013-01-17
6
397 Views
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.
0
Comment
Question by:Bitlab
  • 3
  • 3
6 Comments
 
LVL 33

Expert Comment

by:Dave Howe
Comment Utility
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)
0
 
LVL 2

Author Comment

by:Bitlab
Comment Utility
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.
0
 
LVL 2

Author Comment

by:Bitlab
Comment Utility
Thank you for your assistance one more time.

I made more attempts. I tried import to Evolution, but in vain.
Import attempt
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 33

Accepted Solution

by:
Dave Howe earned 500 total points
Comment Utility
0
 
LVL 2

Author Closing Comment

by:Bitlab
Comment Utility
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.
0
 
LVL 33

Expert Comment

by:Dave Howe
Comment Utility
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)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Pegasus Mail (http://www.pmail.com/) is a donation ware that is a collaboration of David Harris along with his team members. It is a desktop mail client that offers the option of configuring more than one mail account with single set up. It supports…
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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: …

743 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now