mutt freezes when fed high character in header
- To: mutt-users@xxxxxxxx
- Subject: mutt freezes when fed high character in header
- From: Breen Mullins <breen.mullins@xxxxxxxxx>
- Date: Tue, 3 Jul 2007 11:59:16 -0700
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:x-mailer:user-agent; b=pEE3AeGw538R4rI7yMOtQtI/c85gYowf45cLpU6pZLnCVGmjGGS23ZBB35aI8FQCcrt1enxlIBVHrbmE113IljHxNStnsGKaDo1DhCqbna3n1CZ8gP367i+zJlu0REFOCZw7fFV/lbXO7ZIzTpJIevBPwT2pjXk9420LqDhRoVE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:x-mailer:user-agent; b=F+Fy0L4jZclNscUmj6VrPTe0yGVWqYtrK1z1BroWDjX0eWJzcS+ricrQZqGQFFFqgxOSAQ/Juh7Dhcp5Ql5YTgQ3KJPzErK5ro7eU44rscS/zoJ22/TKmAxZjlMpsXWrUevTAUGFdrPNIWctqUofP0wy9PfiD63Rqxqpbf9jmQY=
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.16 (2007-06-09)
I had mutt freeze (again) while opening an mbox today. It gets to
the point where it prints 'sorting mailbox' and hangs.
I finally tracked it down to a message containing a From: header in
which an 8-bit character wasn't properly encoded:
X-Amavis-Alert: BAD HEADER, Non-encoded 8-bit data (char E6 hex): From:
"Danny Kj\346r..."
(Nice of amavis to point that out.)
Remove the message from the mbox and it opens just fine.
Here's my mutt -v:
Mutt 1.5.16 (2007-06-09)
System: Darwin 7.9.0 (Power Macintosh)
ncurses: ncurses 5.2.20020209 (compiled with 5.2)
libiconv: 1.9
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK -USE_INODESORT
-USE_POP +USE_IMAP -USE_SMTP -USE_GSS +USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL +HAVE_GETADDRINFO
-HAVE_REGCOMP +USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME -CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS -HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/sw/share/mutt"
SYSCONFDIR="/sw/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
and my charset configuration:
LANG=en_US.utf-8
LC_CTYPE=en_US.UTF-8
Any advice on avoiding a repeat? The list in question has a lot of
international users.
Thanks -
Breen
--
Breen Mullins
Menlo Park, California