Solved

move imap folders to fedora core 2 from redhat 6.2

Posted on 2004-09-04
10
322 Views
Last Modified: 2010-03-18
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
0
Comment
Question by:gabosdenes
  • 4
  • 4
10 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 11980608
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
 

Author Comment

by:gabosdenes
ID: 11987786
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
 

Author Comment

by:gabosdenes
ID: 11987809
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
 
LVL 40

Expert Comment

by:jlevie
ID: 11991114
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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 

Author Comment

by:gabosdenes
ID: 11994092
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
 
LVL 40

Accepted Solution

by:
jlevie earned 250 total points
ID: 11994285
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
 

Author Comment

by:gabosdenes
ID: 11994900
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
 
LVL 40

Expert Comment

by:jlevie
ID: 12012500
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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
CPU#7 stuck for 22s! 4 236
Installing Nagwin with mssql backend 9 69
Error when calling SSH command 20 101
apache and php 3 89
I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This video discusses moving either the default database or any database to a new volume.
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: …

706 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

18 Experts available now in Live!

Get 1:1 Help Now