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

mutt freezes when fed high character in header



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