That version is an antique. Try the one in contrib/mailbox2dbmail which should work just fine.
András Csányi wrote:
Hi! I'm new in the list and I'm new in dbmail. I installed my home system an work it fine. But i want to convert my maildir emails to dbmail. I tried with maildir2dbmail (http://www.nabble.com/maildir2dbmail-td7807264.html#a7807264) and working fine, but always stop the script after ~970 mails. The error message this: File "/usr/local/bin/mailbox2dbmail", line 71, in convert return convert(user,mbox,box,path) File "/usr/local/bin/mailbox2dbmail", line 71, in convert return convert(user,mbox,box,path) File "/usr/local/bin/mailbox2dbmail", line 71, in convert return convert(user,mbox,box,path) File "/usr/local/bin/mailbox2dbmail", line 58, in convert mailmsg = mbox.next() File "/usr/lib/python2.5/mailbox.py", line 493, in next return self[self._onetime_keys.next()] File "/usr/lib/python2.5/mailbox.py", line 78, in __getitem__ return self._factory(self.get_file(key)) File "/usr/lib/python2.5/email/__init__.py", line 66, in message_from_file return Parser(*args, **kws).parse(fp) File "/usr/lib/python2.5/email/parser.py", line 71, in parse feedparser.feed(data) File "/usr/lib/python2.5/email/feedparser.py", line 153, in feed self._call_parse() File "/usr/lib/python2.5/email/feedparser.py", line 157, in _call_parse self._parse() File "/usr/lib/python2.5/email/feedparser.py", line 299, in _parsegen r')(?P<end>--)?(?P<ws>[ \t]*)(?P<linesep>\r\n|\r|\n)?$') File "/usr/lib/python2.5/re.py", line 188, in compile return _compile(pattern, flags) File "/usr/lib/python2.5/re.py", line 239, in _compile p = sre_compile.compile(pattern, flags) File "/usr/lib/python2.5/sre_compile.py", line 507, in compile p = sre_parse.parse(p, flags) File "/usr/lib/python2.5/sre_parse.py", line 679, in parse p = _parse_sub(source, pattern, 0) File "/usr/lib/python2.5/sre_parse.py", line 314, in _parse_sub itemsappend(_parse(source, state)) File "/usr/lib/python2.5/sre_parse.py", line 639, in _parse p = _parse_sub(source, state) File "/usr/lib/python2.5/sre_parse.py", line 314, in _parse_sub itemsappend(_parse(source, state)) File "/usr/lib/python2.5/sre_parse.py", line 515, in _parse item = subpattern[-1:] File "/usr/lib/python2.5/sre_parse.py", line 141, in __getslice__ return SubPattern(self.pattern, self.data[start:stop]) RuntimeError: maximum recursion depth exceeded If I start the script again then the mails will be double. I don't know what is the problem: - my emails has to deep threads or something like this. Somebody can me help? My plan is that I convert my emails to mbox and I will try convert the mbox format. I hope it this will working. thank you for the help and sorry my english. András ------------------------------------------------------------------------ _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
-- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
