severity 507465 wishlist
retitle 507465 mb2md: Please provide an option to tweak mail separation 
detection.
thanks

Putting back the submitter in the loop, please Cc submitters, or use the
[EMAIL PROTECTED] alias…

Bruno De Fraine <[EMAIL PROTECTED]> (03/12/2008):
>> This script intentionally looks for a blank line in between messages
>> in the mbox file.  There is no such requirement that I know of;
>
> There *is* certainly mention of a blank line in the first few
> references that turn up when looking for an mbox file specification:
>
> http://www.qmail.org/man/man5/mbox.html
> http://en.wikipedia.org/wiki/Mbox

Err, quoting qmail as a reference looks bogus to me… Anyway, looking at
e.g. RFC 4155 (which points to qmail's site too, sigh, with typo, sigh
again), we have:

,--[ Appendix A. The "default" mbox Database Format ]--
|    The "default" mbox database format uses a linear sequence of Internet
|    messages, with each message being immediately prefaced by a separator
|    line, and being terminated by an empty line.  More specifically:
| 
|    …
| 
|       o Each message in the database MUST be terminated by an empty
|         line, containing a single end-of-line marker.
`--

So you're right.

> > As is, I got 30% fewer messages in the new Maildir, and lots of
> > messages were actually two or three messages run together.  The
> > result is so garbled I wonder if anyone else has ever used this
> > script...

Requesting an option to make the newline between two sucessive mails
optional makes anyway sense to me, adjusting bug severity and title
accordingly.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature

Reply via email to