• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8456
  • Last Modified:

moving mbox folders to maildir

Hi

My mail server is currently running sendmail and uses mbox. I would like to move to a new machine that will run postfix with maildir. I am not sure how to handle is he mbox folders of users on the old machine and make them available for the users on the new postfix/maildir server. They obviously need to be in maildir format:

- Is there a tool that I can use to convert those mbox folders into maildir folders?

- If that is possible, would it then be a matter of copying the new folders to the homes of their respective  users, or is there more to it than this?

Thank you
0
asa44m
Asked:
asa44m
  • 2
  • 2
  • 2
3 Solutions
 
jlevieCommented:
The best way to do this would be to set up an IMAP server on the old machine and use imapsync (http://freshmeat.net/projects/imapsync/) to transfer the messages.
0
 
asa44mAuthor Commented:
I have read the Readme file and it does not suggest that imapsyc can convert from mbox to maildir. Trasferring the files form one machine to another is not the problem, but convering them from mbox to maildir is. Thanks
0
 
PsiCopCommented:
Well, what jlevie is suggesting is that you use an IMAP client between the two systems. That is, you add IMAP capability to the sendmail-based system, and also to the PostFix-based system, and then use an IMAP client to download from the sendmail-based system and upload to the PostFix one.

This is the technique we used to migrate from Outlook (yech!) to GroupWise.
0
Get expert help—faster!

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

 
asa44mAuthor Commented:
Both servers have IMAP already. Are you implying that by transferring the messages, using imapsync, from the mbox sendmail server to the maildir postfix server all folders get converted to maildir?
0
 
PsiCopCommented:
Pretty much.

Look, the IMAP agent on the PostFix server doesn't know that the E-Mail was once stored in mbox format. It receives and processes an IMAP-compliant data stream. If that data stream hands it an E-Mail and tells it to store it, its going to use maildir, not mbox.
0
 
jlevieCommented:
Exactly...
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now