#1200: mbox From_ line format over-strict expectations
-------------------------------------------------+--------------------------
Reporter: Nicolas Le Scouarnec <n...@…> | Owner: mutt-dev
Type: defect | Status: assigned
Priority: minor | Milestone: 1.6
Component: mutt | Version: 1.5.17
Keywords: |
-------------------------------------------------+--------------------------
Changes (by me):
* milestone: => 1.6
Old description:
> {{{
> Package: mutt
> Version: 1.3.27i
> Severity: normal
>
> -- Please type your report below this line
>
> Mutt does not read all messages in the to following mailboxes.
> It only found 21 messages over hundreds in the first one and he doesn't
> found
> any message in the other one.
>
> ftp://ftp.cac.washington.edu/imap/c-client_archive_gz/
>
> Bug reported on the newgroup: fr.comp.mail
>
> -- Build environment information
>
> (Note: This is the build environment installed on the system
> muttbug is run on. Information may or may not match the environment
> used to build mutt.)
>
> - gcc version information
> cc -I/usr/local/include
> Using builtin specs.
> gcc version 2.95.3 20010315 (release) [FreeBSD]
>
> - CFLAGS
> -Wall -pedantic -O -pipe
>
> -- Mutt Version Information
>
> Mutt 1.3.27i (2002-01-22)
> Copyright (C) 1996-2001 Michael R. Elkins et autres.
> Mutt ne fournit ABSOLUMENT AUCUNE GARANTIE ; pour les détails tapez `mutt
> -vv'.
> Mutt est un logiciel libre, et vous êtes libre de le redistribuer
> sous certaines conditions ; tapez `mutt -vv' pour les détails.
>
> System: FreeBSD 4.4-RELEASE-p9 (i386) [using slang 10404]
> Options de compilation :
> -DOMAIN
> -DEBUG
> -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
> -USE_FCNTL +USE_FLOCK
> +USE_POP +USE_IMAP -USE_GSS -USE_SSL -USE_SASL
> +HAVE_REGCOMP -USE_GNU_REGEX
> +HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET
> -HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM
> +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
> +ENABLE_NLS -LOCALES_HACK -HAVE_WC_FUNCS -HAVE_LANGINFO_CODESET
> -HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
> ISPELL="/usr/local/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/local/share/mutt"
> SYSCONFDIR="/usr/local/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> Pour contacter les développeurs, veuillez écrire à <[email protected]>.
> Pour signaler un bug, veuillez utiliser l'utilitaire flea(1).
>
> --- Begin /usr/local/etc/Muttrc
> ignore "from " received content- mime-version status x-status message-id
> ignore sender references return-path lines
> macro index \eb '/~b ' 'search in message bodies'
> macro index \cb |urlview\n 'call urlview to extract URLs out of a
> message'
> macro pager \cb |urlview\n 'call urlview to extract URLs out of a
> message'
> macro generic <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show
> Mutt documentation"
> macro index <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show
> Mutt documentation"
> macro pager <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show
> Mutt documentation"
> --- End /usr/local/etc/Muttrc
>
> Received: (at submit) by bugs.guug.de; 5 Dec 2002 15:18:16 +0000
> From [email protected] Thu Dec 05 16:18:16 2002
> Received: from [208.247.65.237] (helo=bsdshell.dyndns.org ident=root)
> by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
> id 18JxlW-0003Bx-00
> for <[email protected]>; Thu, 05 Dec 2002 16:18:15 +0100
> Received: from bsdshell.dyndns.org (ale...@localhost [127.0.0.1])
> by bsdshell.dyndns.org (8.12.5/8.12.5) with ESMTP id
> gB5FIfKe090507
> for <[email protected]>; Thu, 5 Dec 2002 10:18:41 -0500 (EST)
> (envelope-from [email protected])
> Received: (from ale...@localhost)
> by bsdshell.dyndns.org (8.12.5/8.12.5/Submit) id gB5FIS7D090506
> for [email protected]; Thu, 5 Dec 2002 15:18:28 GMT
> Message-Id: <[email protected]>
> Date: 5 Dec 2002 15:13:59 -0000
> From: [email protected]
> Subject: mutt-1.5.1i: strange behavior when email address contains 0xA0
> 's
> To: [email protected]
> Personality: fake
>
> Package: mutt
> Version: 1.5.1i
> Severity: normal
>
> -- Please type your report below this line
> I recently had problems with mutt reading a news article (saved
> to a file). It turned out that the poster uses an email address
> \...@\xa0.\xa0 and mutt seems to ignore the mailbox delimiter line
> From \...@\xa0.\xa0 ...
>
> Is this a bug?
> I have appended a zipped and uuencoded copy of a mailbox that
> can be used to reproduce the error.
>
> -- Mutt Version Information
>
> Mutt 1.5.1i (2002-05-02)
> System: Linux 2.4.18 (i686) [using slang 10401]
>
> -- Sample mailbox
> begin 644 mbox.gz
> M'XL("+=L[ST``VUB;w...@`c9-=;]LV%(;O]2M8;!<;&K&2+,N6UJW^3OPEV['J
> M."f...@i8hbs%%rb1ev?du^:FCW/4B`SH,$""`?,^+E\\Y9R1X#EX[`+Z"*"O!
> M`,<`-('M!FXK<#...@6)9CA&&T-)=<*l...@`i'-3:&V`UK_I:`RPG:/A!LPE,
> MR[,L(\25W`M>%C(`.8D%ESQ5L"AWE,2P(BSAE3P7,,.T^(98\DV61<&%NHEY
> M7D`N(26L/-...@jgz(_?;;....@3&=_\A_4.21)+8UWNGG&L`G"O4S]D),[...@e%
> M%.$,?``]SA68(X;V6``BP0Y+]>F3,=)4`HWE%;X:"[%'c...@nd*?&2-.*:_*
> MPHQX`.J$*44Y-G[&Q0H:7F`[FDM;<]F:-1F!48*%SD/8)@06]'UH.PGXDB?R
> M*_CMW/9`P]D1]7LMYV97Q!DY:?,+EL8]3K'`+,8:[,=&TU=EZ::8Y?'^X/O'
> M?)_LTI9']C+/D6^U1<=%9ZC!_04^8M3*5^XO>?^N"QW7<CO1U)FO1U%XN[0M
> M?;^95'<^=-NN]^OAQ8&N[[9\K\/^B6O#0O`$$I5`K/e...@d'R+#2A8M5=VH/
> M>ZPVMBWG7\;&?#P?FALLY)6?#2VCSYG"3)G1I:B1X;/ZL*2(L#]`G"$AL?KS
> M\]KLKOOCL3''4NK>F..!?B[URIBM^I-):])[wd[...@a;JPZLL#H@)&\7/,8
> M,\)J.([w=f[o]#...@mmz$#;KUL1"13K`/+4,)>5"!%W&+X\Q&&?2D27(QP/
> M#[VNE;T<VR5/Q2)OA=WFIERM-GS12"</)Q3B:#QO3]GM=HD.3^X=:1!Q/$7K
> MX3M"+^/#DS=<'?S!?$61P.?;sz?...@zk1]ee#rn^[p<VM[[\%"<_/-B,*!J
> MTIOAP>SI6&5%D;OT<;Z1+Z?N>OINC"[G5O7<*]O'I^.Y1W7TOMZ%&IF2W\=P
> M5TK\%H06#>;][O]3=NM34R_B]YHQ2[5T2;4"ZY4`LA08*`Y2+BHD$H!`S(L+
> MX"gh...@ntzs_)G-0F585$0[5?HCE-:.)4,[>O748Z6'68(++P6(?X2MCPLL
> EZ$6[UAU,"57UQMC0-HPO0*HR34&"*58X`5^-OP%Y.0[,q...@0`````
> `
> end
>
> Received: (at submit) by bugs.guug.de; 16 Dec 2002 02:52:29 +0000
> From [email protected] Mon Dec 16 03:52:29 2002
> Received: from 202-77-223-51.outblaze.com ([202.77.223.51]
> helo=corpmail.outblaze.com)
> by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
> id 18NlMq-0004uo-00
> for <[email protected]>; Mon, 16 Dec 2002 03:52:29 +0100
> Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
> by corpmail.outblaze.com (Postfix) with ESMTP id F10E77D4B
> for <[email protected]>; Mon, 16 Dec 2002 02:58:44 +0000 (GMT)
> Received: from yusufg.portal2.com (202-77-223-125.outblaze.com
> [202.77.223.125])
> by corpmail.outblaze.com (Postfix) with SMTP id AB918520D2
> for <[email protected]>; Mon, 16 Dec 2002 02:58:44 +0000 (GMT)
> Received: (qmail 18858 invoked by uid 500); 16 Dec 2002 02:52:50 -0000
> Date: 16 Dec 2002 02:52:50 -0000
> Message-ID: <[email protected]>
> From: "Yusuf Goolamabbas" <[email protected]>
> Subject: mutt-1.4i: Unable to read any of the psyche-list archives
> mailboxes
> To: [email protected]
> X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.6; VAE:
> 6.17.0.2; VDF: 6.17.0.6; host: corpmail.outblaze.com)
>
> Package: mutt
> Version: 1.4i
> Severity: normal
>
> -- Please type your report below this line
> Hi, When I download and gunzip the archives of the psyche-list
>
> https://listman.redhat.com/pipermail/psyche-list/
>
> mutt 1.4i on Redhat 7.0/7.3/8.0 does not show any messages, the 'mail'
> command on redhat 7.0/7.3/8.0 is able to read the mailboxes. Anybody
> else seeing similar behaviour and can explain why this is so
>
> Regards, Yusuf
> [email protected]
>
> -- Mutt Version Information
>
> Mutt 1.4i (2002-05-29)
> Copyright (C) 1996-2001 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: Linux 2.4.20 (i686) [using slang 10401]
> Compile options:
> DOMAIN="outblaze.com"
> -DEBUG
> +HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE
> +USE_FCNTL -USE_FLOCK
> +USE_POP +USE_IMAP -USE_GSS -USE_SSL -USE_SASL
> +HAVE_REGCOMP -USE_GNU_REGEX
> +HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET
> -HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM
> +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
> -ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
> +HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
> ISPELL="/usr/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="Mailbox"
> PKGDATADIR="/usr/local/site/mutt/share/mutt"
> SYSCONFDIR="/usr/local/site/mutt/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> To contact the developers, please mail to <[email protected]>.
> To report a bug, please use the flea(1) utility.
>
> Received: (at submit) by bugs.guug.de; 4 Jan 2004 11:00:39 +0000
> From [email protected] Sun Jan 04 12:00:36 2004
> Received: from biscayne-one-station.mit.edu ([18.7.7.80])
> by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
> id 1Ad5zn-0006b7-00
> for <[email protected]>; Sun, 04 Jan 2004 12:00:35 +0100
> Received: from manawatu-mail-centre.mit.edu (MANAWATU-MAIL-CENTRE.MIT.EDU
> [18.7.7.71])
> by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id
> i04B3FFp016252;
> Sun, 4 Jan 2004 06:03:15 -0500 (EST)
> Received: from coleco-sidewinder.mit.edu (COLECO-SIDEWINDER.MIT.EDU
> [18.187.2.149])
> (authenticated bits=56)
> (User authenticated as [email protected])
> by manawatu-mail-centre.mit.edu (8.12.4/8.12.4) with ESMTP id
> i04B3D8e008964;
> Sun, 4 Jan 2004 06:03:14 -0500 (EST)
> Received: (from jh...@localhost) by coleco-sidewinder.mit.edu (8.12.9)
> id i04B3DlP008485; Sun, 4 Jan 2004 06:03:13 -0500 (EST)
> Date: Sun, 4 Jan 2004 06:03:13 -0500 (EST)
> From: [email protected]
> Message-Id: <[email protected]>
> Subject: mutt-1.4.1i: Mutt doesn't like some ^From mailbox seperators
> (esp. with "at")
> To: [email protected]
> X-Spam-Status: No, hits=-3.6 required=4.0
> tests=BAYES_10,NO_REAL_NAME
> version=2.55
> X-Spam-Level:
> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
>
> Package: mutt
> Version: 1.4.1i
> Severity: normal
>
> -- Please type your report below this line
>
> (This is also seen with 1.5.4).
>
> Mutt fails to properly read mbox-format files with From lines like:
>
> From dtucker at zip.com.au Thu Jan 1 11:19:33 2004
>
> This sort of mbox-file can be found, e.g., at
> http://www.mindrot.org/pipermail/openssh-unix-dev/2004-January.txt
>
> With debugging, mutt spews:
>
> is_from(): parsing: dtucker at zip.com.au Thu Jan 1 11:19:33 2004
> is_from(): got return path: dtucker
> is_from(): expected weekday, got: at zip.com.au Thu Jan 1 11:19:33
> 2004
>
> mutt then shows a mailbox with none or one or two messages,
> instead of the correct number.
>
> I'm not sure what the best way to make the parser more flexible is.
> In http://www.imc.org/ietf-smtp/old-archive/msg02087.html,
> jgm notes:
>
> | Mark Crispin's c-client has code to parse at least 20 different
> | variants of this format--10 different possible date formats, each with
> | or without a " remote from XXX" after it.
>
> So maybe that code should be hunted down and copied/emulated?
> is_from()'s parser looks relatively fragile.
>
> I'm loathe to try to craft a patch that's specific to this one type,
> and I don't know what a good authoritative reference is. If you'd
> find it useful for me to do so, please let me know and I shall.
>
> --jhawk
>
> -- Build environment information
>
> (Note: This is the build environment installed on the system
> muttbug is run on. Information may or may not match the environment
> used to build mutt.)
>
> - gcc version information
> gcc
> Reading specs from /usr/gcc/lib/gcc-lib/sparc-sun-solaris2.9/3.2.1/specs
> Configured with: ../src/configure --prefix=/usr/gcc --disable-shared
> Thread model: posix
> gcc version 3.2.1
>
> - CFLAGS
> -Wall -pedantic -g -O2
>
> -- Mutt Version Information
>
> Mutt 1.4.1i (2003-03-19)
> Copyright (C) 1996-2002 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: SunOS 5.9 (sun4u) [using slang 10310]
> Compile options:
> -DOMAIN
> +DEBUG
> -HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE
> +USE_FCNTL -USE_FLOCK
> -USE_POP +USE_IMAP -USE_GSS +USE_SSL +USE_SASL
> +HAVE_REGCOMP -USE_GNU_REGEX
> +HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET
> -HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM
> +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
> +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
> +HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV +ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
> ISPELL="/usr/athena/bin/ispell"
> SENDMAIL="/usr/lib/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/mit/sipb/share/mutt"
> SYSCONFDIR="/mit/sipb/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> To contact the developers, please mail to <[email protected]>.
> To report a bug, please use the flea(1) utility.
>
>
> >How-To-Repeat:
> >Fix:
> }}}
New description:
{{{
Package: mutt
Version: 1.3.27i
Severity: normal
-- Please type your report below this line
Mutt does not read all messages in the to following mailboxes.
It only found 21 messages over hundreds in the first one and he doesn't
found
any message in the other one.
ftp://ftp.cac.washington.edu/imap/c-client_archive_gz/
Bug reported on the newgroup: fr.comp.mail
-- Build environment information
(Note: This is the build environment installed on the system
muttbug is run on. Information may or may not match the environment
used to build mutt.)
- gcc version information
cc -I/usr/local/include
Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
- CFLAGS
-Wall -pedantic -O -pipe
-- Mutt Version Information
Mutt 1.3.27i (2002-01-22)
Copyright (C) 1996-2001 Michael R. Elkins et autres.
Mutt ne fournit ABSOLUMENT AUCUNE GARANTIE ; pour les détails tapez `mutt
-vv'.
Mutt est un logiciel libre, et vous êtes libre de le redistribuer
sous certaines conditions ; tapez `mutt -vv' pour les détails.
System: FreeBSD 4.4-RELEASE-p9 (i386) [using slang 10404]
Options de compilation :
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
-USE_FCNTL +USE_FLOCK
+USE_POP +USE_IMAP -USE_GSS -USE_SSL -USE_SASL
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET
-HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM
+HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK -HAVE_WC_FUNCS -HAVE_LANGINFO_CODESET
-HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
ISPELL="/usr/local/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
Pour contacter les développeurs, veuillez écrire à <[email protected]>.
Pour signaler un bug, veuillez utiliser l'utilitaire flea(1).
--- Begin /usr/local/etc/Muttrc
ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines
macro index \eb '/~b ' 'search in message bodies'
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
macro generic <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show
Mutt documentation"
macro index <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show
Mutt documentation"
macro pager <f1> "!less /usr/local/share/doc/mutt/manual.txt\n" "Show
Mutt documentation"
--- End /usr/local/etc/Muttrc
Received: (at submit) by bugs.guug.de; 5 Dec 2002 15:18:16 +0000
From [email protected] Thu Dec 05 16:18:16 2002
Received: from [208.247.65.237] (helo=bsdshell.dyndns.org ident=root)
by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
id 18JxlW-0003Bx-00
for <[email protected]>; Thu, 05 Dec 2002 16:18:15 +0100
Received: from bsdshell.dyndns.org (ale...@localhost [127.0.0.1])
by bsdshell.dyndns.org (8.12.5/8.12.5) with ESMTP id
gB5FIfKe090507
for <[email protected]>; Thu, 5 Dec 2002 10:18:41 -0500 (EST)
(envelope-from [email protected])
Received: (from ale...@localhost)
by bsdshell.dyndns.org (8.12.5/8.12.5/Submit) id gB5FIS7D090506
for [email protected]; Thu, 5 Dec 2002 15:18:28 GMT
Message-Id: <[email protected]>
Date: 5 Dec 2002 15:13:59 -0000
From: [email protected]
Subject: mutt-1.5.1i: strange behavior when email address contains 0xA0 's
To: [email protected]
Personality: fake
Package: mutt
Version: 1.5.1i
Severity: normal
-- Please type your report below this line
I recently had problems with mutt reading a news article (saved
to a file). It turned out that the poster uses an email address
\...@\xa0.\xa0 and mutt seems to ignore the mailbox delimiter line
From \...@\xa0.\xa0 ...
Is this a bug?
I have appended a zipped and uuencoded copy of a mailbox that
can be used to reproduce the error.
-- Mutt Version Information
Mutt 1.5.1i (2002-05-02)
System: Linux 2.4.18 (i686) [using slang 10401]
-- Sample mailbox
begin 644 mbox.gz
M'XL("+=L[ST``VUB;w...@`c9-=;]LV%(;O]2M8;!<;&K&2+,N6UJW^3OPEV['J
M."f...@i8hbs%%rb1ev?du^:FCW/4B`SH,$""`?,^+E\\Y9R1X#EX[`+Z"*"O!
M`,<`-('M!FXK<#...@6)9CA&&T-)=<*l...@`i'-3:&V`UK_I:`RPG:/A!LPE,
MR[,L(\25W`M>%C(`.8D%ESQ5L"AWE,2P(BSAE3P7,,.T^(98\DV61<&%NHEY
M7D`N(26L/-...@jgz(_?;;....@3&=_\A_4.21)+8UWNGG&L`G"O4S]D),[...@e%
M%.$,?``]SA68(X;V6``BP0Y+]>F3,=)4`HWE%;X:"[%'c...@nd*?&2-.*:_*
MPHQX`.J$*44Y-G[&Q0H:7F`[FDM;<]F:-1F!48*%SD/8)@06]'UH.PGXDB?R
M*_CMW/9`P]D1]7LMYV97Q!DY:?,+EL8]3K'`+,8:[,=&TU=EZ::8Y?'^X/O'
M?)_LTI9']C+/D6^U1<=%9ZC!_04^8M3*5^XO>?^N"QW7<CO1U)FO1U%XN[0M
M?;^95'<^=-NN]^OAQ8&N[[9\K\/^B6O#0O`$$I5`K/e...@d'R+#2A8M5=VH/
M>ZPVMBWG7\;&?#P?FALLY)6?#2VCSYG"3)G1I:B1X;/ZL*2(L#]`G"$AL?KS
M\]KLKOOCL3''4NK>F..!?B[URIBM^I-):])[wd[...@a;JPZLL#H@)&\7/,8
M,\)J.([w=f[o]#...@mmz$#;KUL1"13K`/+4,)>5"!%W&+X\Q&&?2D27(QP/
M#[VNE;T<VR5/Q2)OA=WFIERM-GS12"</)Q3B:#QO3]GM=HD.3^X=:1!Q/$7K
MX3M"+^/#DS=<'?S!?$61P.?;sz?...@zk1]ee#rn^[p<VM[[\%"<_/-B,*!J
MTIOAP>SI6&5%D;OT<;Z1+Z?N>OINC"[G5O7<*]O'I^.Y1W7TOMZ%&IF2W\=P
M5TK\%H06#>;][O]3=NM34R_B]YHQ2[5T2;4"ZY4`LA08*`Y2+BHD$H!`S(L+
MX"gh...@ntzs_)G-0F585$0[5?HCE-:.)4,[>O748Z6'68(++P6(?X2MCPLL
EZ$6[UAU,"57UQMC0-HPO0*HR34&"*58X`5^-OP%Y.0[,q...@0`````
`
end
Received: (at submit) by bugs.guug.de; 16 Dec 2002 02:52:29 +0000
From [email protected] Mon Dec 16 03:52:29 2002
Received: from 202-77-223-51.outblaze.com ([202.77.223.51]
helo=corpmail.outblaze.com)
by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
id 18NlMq-0004uo-00
for <[email protected]>; Mon, 16 Dec 2002 03:52:29 +0100
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by corpmail.outblaze.com (Postfix) with ESMTP id F10E77D4B
for <[email protected]>; Mon, 16 Dec 2002 02:58:44 +0000 (GMT)
Received: from yusufg.portal2.com (202-77-223-125.outblaze.com
[202.77.223.125])
by corpmail.outblaze.com (Postfix) with SMTP id AB918520D2
for <[email protected]>; Mon, 16 Dec 2002 02:58:44 +0000 (GMT)
Received: (qmail 18858 invoked by uid 500); 16 Dec 2002 02:52:50 -0000
Date: 16 Dec 2002 02:52:50 -0000
Message-ID: <[email protected]>
From: "Yusuf Goolamabbas" <[email protected]>
Subject: mutt-1.4i: Unable to read any of the psyche-list archives
mailboxes
To: [email protected]
X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.6; VAE: 6.17.0.2;
VDF: 6.17.0.6; host: corpmail.outblaze.com)
Package: mutt
Version: 1.4i
Severity: normal
-- Please type your report below this line
Hi, When I download and gunzip the archives of the psyche-list
https://listman.redhat.com/pipermail/psyche-list/
mutt 1.4i on Redhat 7.0/7.3/8.0 does not show any messages, the 'mail'
command on redhat 7.0/7.3/8.0 is able to read the mailboxes. Anybody
else seeing similar behaviour and can explain why this is so
Regards, Yusuf
[email protected]
-- Mutt Version Information
Mutt 1.4i (2002-05-29)
Copyright (C) 1996-2001 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: Linux 2.4.20 (i686) [using slang 10401]
Compile options:
DOMAIN="outblaze.com"
-DEBUG
+HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE
+USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP -USE_GSS -USE_SSL -USE_SASL
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET
-HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM
+HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
-ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
ISPELL="/usr/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="Mailbox"
PKGDATADIR="/usr/local/site/mutt/share/mutt"
SYSCONFDIR="/usr/local/site/mutt/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[email protected]>.
To report a bug, please use the flea(1) utility.
Received: (at submit) by bugs.guug.de; 4 Jan 2004 11:00:39 +0000
From [email protected] Sun Jan 04 12:00:36 2004
Received: from biscayne-one-station.mit.edu ([18.7.7.80])
by trithemius.gnupg.org with esmtp (Exim 3.35 #1 (Debian))
id 1Ad5zn-0006b7-00
for <[email protected]>; Sun, 04 Jan 2004 12:00:35 +0100
Received: from manawatu-mail-centre.mit.edu (MANAWATU-MAIL-CENTRE.MIT.EDU
[18.7.7.71])
by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id
i04B3FFp016252;
Sun, 4 Jan 2004 06:03:15 -0500 (EST)
Received: from coleco-sidewinder.mit.edu (COLECO-SIDEWINDER.MIT.EDU
[18.187.2.149])
(authenticated bits=56)
(User authenticated as [email protected])
by manawatu-mail-centre.mit.edu (8.12.4/8.12.4) with ESMTP id
i04B3D8e008964;
Sun, 4 Jan 2004 06:03:14 -0500 (EST)
Received: (from jh...@localhost) by coleco-sidewinder.mit.edu (8.12.9)
id i04B3DlP008485; Sun, 4 Jan 2004 06:03:13 -0500 (EST)
Date: Sun, 4 Jan 2004 06:03:13 -0500 (EST)
From: [email protected]
Message-Id: <[email protected]>
Subject: mutt-1.4.1i: Mutt doesn't like some ^From mailbox seperators
(esp. with "at")
To: [email protected]
X-Spam-Status: No, hits=-3.6 required=4.0
tests=BAYES_10,NO_REAL_NAME
version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
Package: mutt
Version: 1.4.1i
Severity: normal
-- Please type your report below this line
(This is also seen with 1.5.4).
Mutt fails to properly read mbox-format files with From lines like:
From dtucker at zip.com.au Thu Jan 1 11:19:33 2004
This sort of mbox-file can be found, e.g., at
http://www.mindrot.org/pipermail/openssh-unix-dev/2004-January.txt
With debugging, mutt spews:
is_from(): parsing: dtucker at zip.com.au Thu Jan 1 11:19:33 2004
is_from(): got return path: dtucker
is_from(): expected weekday, got: at zip.com.au Thu Jan 1 11:19:33 2004
mutt then shows a mailbox with none or one or two messages,
instead of the correct number.
I'm not sure what the best way to make the parser more flexible is.
In http://www.imc.org/ietf-smtp/old-archive/msg02087.html,
jgm notes:
| Mark Crispin's c-client has code to parse at least 20 different
| variants of this format--10 different possible date formats, each with
| or without a " remote from XXX" after it.
So maybe that code should be hunted down and copied/emulated?
is_from()'s parser looks relatively fragile.
I'm loathe to try to craft a patch that's specific to this one type,
and I don't know what a good authoritative reference is. If you'd
find it useful for me to do so, please let me know and I shall.
--jhawk
-- Build environment information
(Note: This is the build environment installed on the system
muttbug is run on. Information may or may not match the environment
used to build mutt.)
- gcc version information
gcc
Reading specs from /usr/gcc/lib/gcc-lib/sparc-sun-solaris2.9/3.2.1/specs
Configured with: ../src/configure --prefix=/usr/gcc --disable-shared
Thread model: posix
gcc version 3.2.1
- CFLAGS
-Wall -pedantic -g -O2
-- Mutt Version Information
Mutt 1.4.1i (2003-03-19)
Copyright (C) 1996-2002 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: SunOS 5.9 (sun4u) [using slang 10310]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE
+USE_FCNTL -USE_FLOCK
-USE_POP +USE_IMAP -USE_GSS +USE_SSL +USE_SASL
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET
-HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM
+HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV +ICONV_NONTRANS +HAVE_GETSID +HAVE_GETADDRINFO
ISPELL="/usr/athena/bin/ispell"
SENDMAIL="/usr/lib/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/mit/sipb/share/mutt"
SYSCONFDIR="/mit/sipb/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <[email protected]>.
To report a bug, please use the flea(1) utility.
>How-To-Repeat:
>Fix:
}}}
--
--
Ticket URL: <http://dev.mutt.org/trac/ticket/1200#comment:20>
Mutt <http://www.mutt.org/>
The Mutt mail user agent