move imap folders to fedora core 2 from redhat 6.2

I installed fedora core 2, and i want to move all acounts from an old redhat 6.2 .
I created the same user names on core2 (i only had 10-12 user), i moved their home directories and the dir from /var/spool/mail .... and chowned them in the new install. but when i check the mail with a email client (i use opera), the imap folders don't appear.
thanks
gabosdenesAsked:
Who is Participating?
 
jlevieCommented:
That pretty much confirms that we are dealing with two different IMAP implementations. The internal data formats used by these seem to me to preclude a direct copy of the data between the two servers and suggest that an IMAP to IMAP copy is the most viable method.

I've had to do this sort of thing before when moving mail from an UWash implementation to a Cyrus IMAP implementation. I used the mailutil tool from the UWash IMAP distribution to accomplish the copy. You can see what it can do at http://www.washington.edu/pine/man/#mailutil and the UWash distribution can be downloaded from http://www.washington.edu/imap/
0
 
jlevieCommented:
Does a subscribe to folders show the missing folders? It may be that all you need do is to re-subscribe to those sub-folders.

0
 
gabosdenesAuthor Commented:
No it doesn't, I recreated manually an imap folder from Opera but the mail in that folder don't appear. I can see the unread mails though.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
gabosdenesAuthor Commented:
I noticed another thing ... this might be of help ... the folder created with Opera appears in /home/user/mail and my imap folder from redhat 6.2 where in /home/user .
The folder has to be Mail or mail?
0
 
jlevieCommented:
I wonder if we could be dealing with two differing IMAP implementations. I'd guess that the 6.2 system was probably using the UWash IMAP implementation and if that system still exists you could check that with 'rpm -qa | grep imap'. Fedora Core 2 uses Dovecot and I don't believe the two implementations would work the same way.

Do you still have the old 6.2 system in a runable state? If so you could use an IMAP to IMAP transfer to deal with the differing implementations.
0
 
gabosdenesAuthor Commented:
the old box returned imap-4.7-5, but the new box didn't return anything on that query. on the new box i have Dovecot installed ... isn't that enough? do I have to install a separate imap packege?
0
 
gabosdenesAuthor Commented:
The links are ok, I read them ... it's just that i'm new to this, can you explain in a little more detail?
The mailboxes on the old system are stored in /var/spool/mail or in the users homedir? because I've checked and I found mail in both directories. Most of the emails are in the home folders I think, at least there are the imap folders. But what is then stored in /var/spool/mail?

What is the mbx format? Can you provide links to this?

0
 
jlevieCommented:
The UWash IMAP server is meant to be compatible with the "old school" email systems on Linux/Unix. That means that  new messages are placed in an mbox file format in /var/spool/mail/username. An mbox file format has each message beginning with a "Unix From line" and each is separated from the previous message by a blank line. By maintaining this compatibility it is possible to use mail, pine, etc. to read mail when logged onto the server and also be able to read mail via POP or IMAP.

The original email methods that required a log on to the sever made no provisions for mail folders. That was something that came about with the introduction of the IMAP protocol. The UWash implementation chose to store folders and their messages in a particular format in the user's home dir. And, in fact, each IMAP implementation has its own way of storing those folders and the data structures and content aren't portable between implementations.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.