Re: [Dovecot] Mailbox to maildir conversion

2009-07-09 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 8 Jul 2009, Klaus Rueschstroer wrote:


how i transfer  the Tag's in the mbox File's  ( X-Keywords: $label1) in
the maildir structure


Look at the script mb2md.pl

http://wiki.dovecot.org/Migration/MailFormat?highlight=%28mb2md%29

Bye,

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBSlWiKXWSIuGy1ktrAQKNOAf+KLQ3ResJ2/vEKBAj0ddnvO+OPV/klHvN
N0cPM8ucLEX58Yi4TBbd2xL86kMCBm/yM4jISe5iLFWubPfZDxQnnPgl2Eerd2pC
Bl6SPSDuw0vEipgniiCHO88cCsoks5bZgydLCQmh04VHpeqRXFkamvMMhv/zQ1fM
GIzlIOWmEig8sGBpNxkxZ+6TvzQQ+QJ4WljGoRdhx6cxk0MfyroyG651Z0a/A8v3
UFq5f27nefF+dv5xtJV4v7xZxasSEXE4leekIGf+IXUIqzBWw5jhulJv76WtxP+p
WZvC01cD8Vj3kU8Y3flryVtJL3qJ/mC3bGrQuXS86BF1Whq8kf1xGg==
=pjZd
-END PGP SIGNATURE-


[Dovecot] Mailbox to maildir conversion

2009-07-08 Thread Klaus Rueschstroer
Hi,

how i transfer  the Tag's in the mbox File's  ( X-Keywords: $label1) in
the maildir structure



With best regards

Klaus Rueschstroer


[Dovecot] Mailbox to maildir conversion

2008-03-28 Thread Aaron Gallagher
I just today wrote Yet Another Conversion Script. This one differs  
from the rest that I've seen in that it will generate a dovecot- 
uidlist index. I've done some testing, but not any absolutely  
extensive testing. It works well from what I've tried.


Invocation is simple. You pass the script the maildir and the mailbox  
file and it parses the mailbox file. The index file is generated if  
there is at least one e-mail with an X-IMAP header which contains the  
last ID used and the IMAP UIDVALIDITY. My old mail setup was ipop3d +  
sendmail (now dovecot + postfix) and it had a DON'T DELETE THIS  
MESSAGE e-mail with the aforementioned X-IMAP header. This e-mail  
will not be saved in the maildir. All e-mails with an X-UID header  
will get an entry in the uidlist file.


The script works with python 2.3 or later. I haven't tested it on  
pre-2.3 python versions as I don't have any installed.


http://habnabit.org/mb2md.py.gz

I can answer questions about it if needed. I'm also willing to try to  
add any suggested features.