| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-16-2008, 04:18 AM
|
#1
|
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 531
Rep:
|
How to swhich from mbox to Maildir in dovecot 1.1.x and postfix
Hello, I have a setup for mail like this:
IMAP/IMAPS done by dovecot
SMTP done by postfix
The mail are retrived from /var/spool/mail/%u (%u = username)
Dovecot conf:
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
But I wanna switch from mbox to Maildir without losing the mails that I have already:
New Dovecot conf:
mail_location = maildir:~/Maildir
This idea works without any problems, but the old mails I dont have them anymore. Is there a possibility to "export" them or somehow to move them and to have them in the new place?
Thank you!
|
|
|
|
10-16-2008, 05:22 AM
|
#3
|
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 531
Original Poster
Rep:
|
Ok that sounds good, but the old mails are in "mail" directory and they are set as "Files". For example a folder is actually a file, will this convert the files from mail/ too or just the mails from file mbox?
|
|
|
|
10-16-2008, 05:28 AM
|
#4
|
|
Senior Member
Registered: Jun 2008
Posts: 2,529
Rep:
|
You configure mb2md to work on all users's "folders", which are really mbox's. I've done this with gigabytes of mbox data. Just go slowly and test the results before embarking on the full run.
|
|
|
|
10-16-2008, 05:45 AM
|
#5
|
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 531
Original Poster
Rep:
|
Ok! Seems to work, just its gonna be something like a bitch to do all of them. I need to do a script to do it automatically this for me, but thx anyway, it was a big help.
|
|
|
|
10-16-2008, 05:57 AM
|
#6
|
|
Senior Member
Registered: Jun 2008
Posts: 2,529
Rep:
|
It runs recursively, so you just specifiy essentially the user's base mail stores, of the mailq spool.
|
|
|
|
10-16-2008, 06:17 AM
|
#7
|
|
Member
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 531
Original Poster
Rep:
|
It doesnt really, i tried already or maybe i dont know how to use it 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:25 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|