Mikhail;
I had the same error as you ("recursion depth exceeded") so I added this
to the mailbox2dbmail script:
sys.setrecursionlimit(6000)
That I had added right under this line:
version = "%s 1.2" %(sys.argv[0],)
Hope this helps some...took me quite some time to figure that out.
-Dan
Mikhail Ramendik wrote:
Hello,
I tried to convert a BIG mbox into dbmail with mailbox2dbmail.
It has failed with a "recursion depth exceeded" message. I have looked
at the code - and this, in itself, should be expected.
The strange part is: it has processed some hundreds of messages before
failing. But I do not see those messages in dbmail's imap folder! The
folder itself got created but is empty.
How can I find out what happened? Perhaps dbmail-smtp writes some kind
of log, so I could at least see whether the messages got processed
correctly?
Here is the line I used to run it: (mbox path mangled because it
contained locale characters)
.../mailbox2dbmail -b zVariousAudio -m somepath/mbox -u local -t mbox -p
/usr/local/sbin/dbmail-smtp
Yours, Mikhail Ramendik
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail