GNU bug report logs - #6574
24.0.50; Rmail 23 uses a broken mailbox format (mboxo) instead of a sane one like mboxrd

Previous Next

Package: emacs;

Reported by: mark.lillibridge <at> hp.com

Date: Tue, 6 Jul 2010 19:40:02 UTC

Severity: normal

Found in version 24.0.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6574 in the body.
You can then email your comments to 6574 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6574; Package emacs. (Tue, 06 Jul 2010 19:40:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to mark.lillibridge <at> hp.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 06 Jul 2010 19:40:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mark Lillibridge <mark.lillibridge <at> hp.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50;
	Rmail 23 uses a broken mailbox format (mboxo) instead of a sane one
	like mboxrd
Date: Tue, 06 Jul 2010 12:39:15 -0700
    There is a family of incompatible mbox formats for storing mail; see
http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/mail-mbox-formats.html
for all the details.

    Examining unrmail.el from Gnu emacs 24.0.50.1 (lines 228-231):

	    ;; ``Quote'' "\nFrom " as "\n>From "
	    ;;  (note that this isn't really quoting, as there is no requirement
	    ;;   that "\n[>]+From " be quoted in the same transparent way.)

clearly shows that Rmail 23 is using the mboxo format.  

    Unfortunately, this is known to be a bad format because it
irreversibly alters messages.  I strongly recommend switching to a
format like mboxrd, which does not have this problem.

(In particular, any line in a message body starting with "From " is
changed to ">From " in a nonreversible manner; this will screw up MIME
attachments, among other things, with nonzero probability.)

- Mark
PS, the documentation needs to explain which mbox format is used, rather
than saying "the standard mbox format", of which there is no such thing.




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Fri, 07 Dec 2012 04:46:02 GMT) Full text and rfc822 format available.

Notification sent to mark.lillibridge <at> hp.com:
bug acknowledged by developer. (Fri, 07 Dec 2012 04:46:02 GMT) Full text and rfc822 format available.

Message #10 received at 6574-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 6574-done <at> debbugs.gnu.org
Subject: Re: bug#6574: 24.0.50;
	Rmail 23 uses a broken mailbox format (mboxo) instead of a sane one
	like mboxrd
Date: Thu, 06 Dec 2012 23:44:55 -0500
Version: 24.4

Mark Lillibridge wrote:

>     Examining unrmail.el from Gnu emacs 24.0.50.1 (lines 228-231):
>
> 	    ;; ``Quote'' "\nFrom " as "\n>From "
> 	    ;;  (note that this isn't really quoting, as there is no requirement
> 	    ;;   that "\n[>]+From " be quoted in the same transparent way.)
>
> clearly shows that Rmail 23 is using the mboxo format.  

Unrmail has used mboxo when converting from Babyl to mbox since forever;
it's not something new that appeared in 23. I think the lack of comments
over the years indicates this is not a big deal.

However, I agree that mboxrd is better so I made unrmail default to
that, with an option unrmail-mbox-format that you can set to mboxo or
mboxrd.

Rmail itself (as opposed to unrmail) does not care about mboxo or
mboxrd, with the exception of the display of non-MIME messages.
I added a similar option rmail-mbox-format for that.

(http://debbugs.gnu.org/9841 remains as a separate issue at this time)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 Jan 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 123 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.