<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #714: Lines starting From aren't escaped saving from Maildir to mbox



#714: Lines starting From aren't escaped saving from Maildir to mbox

Changes (by brendan):

  * priority:  critical => major

Old description:

> {{{
> Package: mutt
> Version: 1.2.5i
> Severity: normal
>
> -- Please type your report below this line
>
> Send a mail to an address which is saved into a Maildir folder; in
> the mail, include a line which starts "From".
> Start mutt on that folder.  Read the message, save to a normal mbox
> folder.  Look at the folder with a text-viewer, see that the line hasn't
> been escaped with a ">".
>
> Mutt survives, thanks to the Content-Length: header.  Mailers which
> don't understand that header get upset (as does Mutt if the header is
> deleted).
>
> Since Mutt supports multiple mailbox formats, it needs to understand
> the body conversions necessary when moving between formats.  I've just
> confirmed that ">From" isn't changed into "From" when saving _to_
> Maildir format, but this is arguably more problematic.
>
> Bug confirmed present in 1.3.19i.
>

> -- Mutt Version Information
>
> Mutt 1.2.5i (2000-07-28)
> Copyright (C) 1996-2000 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: OpenBSD 2.9 [using slang 10404]
> Compile options:
> -DOMAIN
> -DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  -USE_FCNTL  +USE_FLOCK
> +USE_IMAP  -USE_GSS  +USE_SSL  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX
> +HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS
> +COMPRESSED
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> SHAREDIR="/usr/local/share/mutt"
> SYSCONFDIR="/etc/mutt"
> ISPELL="/usr/local/bin/ispell"
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the muttbug utility.
>

>
> >How-To-Repeat:
> >Fix:
> }}}

New description:

 Send a mail to an address which is saved into a Maildir folder; in
 the mail, include a line which starts "From".
 Start mutt on that folder.  Read the message, save to a normal mbox
 folder.  Look at the folder with a text-viewer, see that the line hasn't
 been escaped with a ">".

 Mutt survives, thanks to the Content-Length: header.  Mailers which
 don't understand that header get upset (as does Mutt if the header is
 deleted).

 Since Mutt supports multiple mailbox formats, it needs to understand
 the body conversions necessary when moving between formats.  I've just
 confirmed that ">From" isn't changed into "From" when saving _to_
 Maildir format, but this is arguably more problematic.

 Bug confirmed present in 1.3.19i.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/714#comment:10>