I've created a contrib/ directory and added this script to it.
I've also added a GPL notice to the script.
Thanks for the work
Ilja
Dan Weber wrote:
BTW, this is licensed under the GPL.
Ilja: You have my full permission to merge this into dbmail :)
-- Dan
On Mon, Mar 08, 2004 at 12:16:32PM -0500, Dan Weber wrote:
Ok, 1.2 is attached and has the following new features and fixes.
mailbox2dbmail-1.2:
* Processed Message Numbering
* Fix Mbox (thanks Ilja)
-- Dan
On Mon, Mar 08, 2004 at 12:09:29PM -0500, Dan Weber wrote:
Ok Ill take a look at it. Im about to release mailbox2dbmail-1.2 which will be
mailed here soon. Ill look at the mbox stuff.
Dan
On Mon, Mar 08, 2004 at 10:48:03AM +0100, Ilja Booij wrote:
Hi Dan,
first of all, thanks for this work :)
I've had to make a small adjustment to make this work completely. I
wonder if this is because of a change in the email or mailbox class
between python versions:
I needed to open() the mbox file, and send the resulting file object to
mailbox.PortableUnixMailbox(mbox,email.message_from_file)
Might it be that handling of MBOX-files is different from handling of
maildirs?
after I made the change, the script ran perfectly :)
Ilja
Dan Weber wrote:
Here is an updated version that can handle mbox, maildir, and mhdir.
Enjoy!
-- Dan
On Sun, Mar 07, 2004 at 08:24:06AM -0500, Dan Weber wrote:
I wrote a python program to handle conversion of flat filesystem maildirs
to dbmail mailboxen. It works well, its documented and everything
included.
-- Dan
_______________________________________________
Dbmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail