Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a local storage with number of .eml files. I would like to copy all such files to mailboxes located on the same server (CentOS box), so that users could view .eml content when fetching emails from the server. I am thinking of using Dovecot as IMAP server and Postfix as SMTP. I hope that my question is not too general, but is such configuration possible with Dovecot? Perhaps, I will need to convert .eml to some other format? I tried googling this topic but with no result. Maybe, there are far better approaches.

Thank you for any help.

share|improve this question
up vote 0 down vote accepted

It appeared there is a script which can convert eml files into mbox format. There is also another script which can convert mbox to maildir. So, we can create a mailbox and convert eml files into it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.