mailbox-mbox: Ignore Content-Length headers
In libbalsa/mailbox_mbox.c (parse_mailbox), delete "g_mime_parser_set_respect_content_length(gmime_parser, TRUE);"
The documentation for g_mime_parser_set_respect_content_length() states:
- Most notably useful when parsing broken Solaris mbox files (See
- http://www.jwz.org/doc/content-length.html for details).
- By default, this feature is disabled.
The jwz link explains why it should be disabled. An incorrect value can lead to misparsing the mbox, and hence possibly loss of messages. Its only known use is to avoid the need to quote (or otherwise mangle) "^From " lines, and with luck no e-mail client still uses it for that purpose.
Edited by Peter Bloomfield