[Bug: 21.5-b27] [Gnus] incorrect RFC 2047 encoding

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Thu Mar 1 18:12:53 EST 2007


================================================================
Dear Bug Team!

that's a copy of http://article.gmane.org/gmane.emacs.gnus.user/8759
which affects the Gnus package shipped by XEmacs. The current upstream
version 5.10.8 does not seem to be affected:

----

I have problems to send mails to recipients having the form

| "Für mich" <foo>

(first name is an 'F' plus a german &uuml; umlaut). Gnus encodes this as

| =?iso-8859-1?Q?=22F=FCr?= mich" <foo>

which is rejected by sendmail with

| DSN: =?iso-8859-1?Q?=22F=FCr?= mich" <foo>... Unbalanced '"'

Other mailers (e.g. ssmtp) mishandle this completely causing silently
lost mails.




Enrico

================================================================

System Info to help track down your bug:
---------------------------------------

uname -a: Linux hammer2.fedora.redhat.com 2.6.17-1.2187_FC5 #1 SMP Mon Sep 11 01:16:59 EDT 2006 i686 athlon i386 GNU/Linux

./configure '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-system-packages=/usr/share/xemacs' '--without-msw' '--with-mule' '--with-clash-detection' '--with-database=no' '--without-ldap' '--without-postgresql' '--with-mail-locking=lockf' '--with-pop' '--without-hesiod' '--with-pdump' '--with-debug' '--with-error-checking=none' '--with-docdir=/usr/lib/xemacs-21.5-b27/doc' '--with-xfs' '--with-athena=next' '--with-menubars=lucid' '--with-widgets=athena' '--with-dialogs=athena' '--with-scrollbars=lucid' '--with-xim=xlib' '--without-wnn' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fsta!
 ck-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing' 'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu'


XEmacs 21.5-b27 "fiddleheads"  configured for `i686-redhat-linux'.

Compilation Environment and Installation Defaults:
  Source code location:              /builddir/build/BUILD/xemacs-21.5.27
  Installation prefix:               /usr
  Operating system description file: `s/linux.h'
  Machine description file:          `m/intel386.h'
  Compiler version:                  gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-51)
    - GCC specs file:                specs.
    - Compiler command:              gcc   -Wall -Wno-switch -Wundef -Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter -g  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -fno-strict-aliasing
  libc version:                      glibc-2.5-10.fc6
  Relocating allocator for buffers:  no
  GNU version of malloc:             yes
    - Using Doug Lea's new malloc from the GNU C Library.

Window System:
  Compiling in support for the X window system:
    - X Windows headers location:                 
    - X Windows libraries location:               
    - Handling WM_COMMAND properly.
  Compiling in support for the Athena widget set:
    - Athena headers location:                    X11/neXtaw
    - Athena library to link:                     neXtaw
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Athena dialog boxes.
  Using Athena native widgets.

TTY:
  Compiling in support for ncurses.
  Compiling in support for GPM (General Purpose Mouse).

Images:
  Compiling in support for GIF  images (builtin).
  Compiling in support for XPM  images.
  Compiling in support for PNG  images.
  Compiling in support for JPEG images.
  Compiling in support for TIFF images.
  Compiling in support for X-Face message headers.

Sound:
  Compiling in support for sound (native).
  Compiling in support for ALSA (Advanced Linux Sound Architecture).

Databases:

Internationalization:
  Compiling in support for Mule (multi-lingual Emacs).
  Compiling in support for XIM (X11R5+ I18N input method).
    - Using raw Xlib to provide XIM support.
    - Using XFontSet to provide bilingual menubar.
  Compiling in support for Canna on Mule.

Mail:
  Compiling in support for POP mail retrieval.
  Compiling in support for "lockf" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for dynamic shared object modules.
  Using the new GC mark algorithms (KKCC).
  WARNING: ---------------------------------------------------------
  WARNING: The new algorithms are experimental. They are enabled by
  WARNING: default for this release. Use `--disable-kkcc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Using the new portable dumper.
  Dumping into executable.
  Compiling in support for extra debugging code.



Load-Path Lisp Shadows:
----------------------
(/home/ensc/.xemacs/xemacs-packages/lisp/psvn
/usr/share/xemacs/site-packages/lisp/psvn
/usr/share/xemacs/site-packages/lisp/bigloo/id-select
/usr/share/xemacs/xemacs-packages/lisp/edit-utils/id-select
/home/ensc/.xemacs/xemacs-packages/lisp/desktop
/usr/share/xemacs/xemacs-packages/lisp/edit-utils/desktop
/usr/share/xemacs/mule-packages/lisp/mule-base/ethio-util
/usr/share/xemacs-21.5-b27/lisp/mule/ethio-util
/usr/share/xemacs/mule-packages/lisp/mule-base/viet-util
/usr/share/xemacs-21.5-b27/lisp/mule/viet-util
/usr/share/xemacs/mule-packages/lisp/mule-base/china-util
/usr/share/xemacs-21.5-b27/lisp/mule/china-util
/usr/share/xemacs/mule-packages/lisp/mule-base/korea-util
/usr/share/xemacs-21.5-b27/lisp/mule/korea-util
/usr/share/xemacs/mule-packages/lisp/mule-base/cyril-util
/usr/share/xemacs-21.5-b27/lisp/mule/cyril-util
/usr/share/xemacs/mule-packages/lisp/mule-base/japan-util
/usr/share/xemacs-21.5-b27/lisp/mule/japan-util
/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/regexp-opt
/usr/share/xemacs-21.5-b27/lisp/regexp-opt
/usr/share/xemacs/xemacs-packages/lisp/build/build-report
/usr/share/xemacs-21.5-b27/lisp/build-report
/usr/share/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode
/usr/share/xemacs-21.5-b27/lisp/easy-mmode)


Installed XEmacs Packages:
-------------------------
(zenirc ver: 1.16 upstream: 2.112)
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xetla ver: 1.01 upstream: steve at eicq.org--2005/xetla--main--1.1--version-0)
(xemacs-devel ver: 1.72 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.03 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.32 upstream: 4.0pre47)
(vm ver: 7.22 upstream: 7.17)
(viper ver: 1.48 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.21 upstream: 3.33.8)
(vc ver: 1.41 upstream: No-Upstream-Ver)
(tramp ver: 1.32 upstream: 2.0.53)
(tpu ver: 1.14 upstream: 4.2X)
(tm ver: 1.38 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.9 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.21 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.2 upstream: 1.4.4)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.22 upstream: 2.0.2)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.07 upstream: No-Upstream-Ver)
(psgml ver: 1.44 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.07 upstream: No-Upstream-Ver)
(pgg ver: 1.06 upstream: 0.1)
(perl-modes ver: 1.09 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.37 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.48 upstream: N/A)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.29 upstream: 7.4.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.76 upstream: No-Upstream-Ver)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.14 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.08 upstream: 2.1)
(gnats ver: 1.17 upstream: 3.101)
(games ver: 1.17 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.1 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.34 upstream: No-Upstream-Ver)
(ediff ver: 1.62 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.17 upstream: 7.13)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.29 upstream: 2.34)
(auctex ver: 1.46 upstream: 11.55)
(apel ver: 1.32 upstream: 10.6)
(ada ver: 1.14 upstream: 2.27)
(mule-base ver: 1.48 upstream: No-Upstream-Ver)
(lookup ver: 1.15 upstream: 1.0)
(leim ver: 1.22 upstream: No-Upstream-Ver)
(latin-unity ver: 1.17 upstream: 1.17)
(egg-its ver: 1.27 upstream: No-Upstream-Ver)
(edict ver: 1.16 upstream: 0.9.9)



Installed Modules:
-----------------


Features:
--------

(xemacsbug shadow gnus-fun pp dabbrev view-less view flow-fill
gnus-topic bbdb-gui passwd latin-unity-tables latin-euro-standards
latin-euro-latin10 latin-euro-latin9 latin-euro-latin8 latin-euro-latin7
latin-unity-vars latin-unity footnote pgg-gpg timer-funcs bbdb-hooks
sort gnus-cite smiley annotations gnus-async gnus-bcklg gnus-kill
gnus-dup gnus-ml url-gw url-misc url-cache url-http url-cookie urlauth
w3-vars w3-keyword w3-cus nnrss xml mm-url url mm mule-sysdp url-parse
url-vars parse-time utf7 nnimap imap byte-optimize nnml nndraft nnmh
efs-cu encrypt gnus-agent gnus-srvr gnus-score score-mode nnvirtual
gnus-msg gnus-cache ensc/gnus-init bytecomp byte-compile gnus-demon nntp
bbdb-gnus gnus-art mm-uu mml2015 pgg password pgg-parse pgg-def mm-view
gnus-sum nnoo gnus-group gnus-undo nnmail mail-source format-spec
bbdb-snarf mail-extr bbdb-com bbdb timezone gnus-start gnus-spec
gnus-int gnus-range message mml mml-sec mml-smime smime dig mm-decode
mm-bodies mm-encode mailcap lpr mail-parse rfc2045 rfc2231 rfc2047 qp
ietf-drums mail-abbrevs sendmail rfc822 mailheader canlock sha1
executable hex-util gnus-win gnus gnus-ems gnus-xmas messagexmas
nnheader nnheaderxm gnus-util netrc time-date mail-utils mm-util
mail-prsvr wid-edit balloon-help blink-cursor lazy-shot paren
blink-paren mmm-mode mmm-univ mmm-class mmm-region mmm-utils mmm-auto
mmm-vars mmm-compat overlay big-menubar ediff-hook vc-hooks redo
scroll-in-place font-latex font disp-table latex tex advice
advice-preload regexp-opt tex-site filladapt iswitchb savehist crypt
crypt++ backup-dir pending-del pc-select mwheel speedbar sb-image dframe
assoc edmacro font-lock cus-face xemacs-etags bmacs-xemacs bmacs
zenirc-autoloads xwem-autoloads xslt-process-autoloads xslide-autoloads
xlib-autoloads xetla-autoloads xemacs-devel-autoloads
xemacs-base-autoloads x-symbol-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-autoloads
tramp-autoloads tpu-autoloads tm-autoloads time-autoloads
textools-autoloads text-modes-autoloads texinfo-autoloads
supercite-autoloads strokes-autoloads speedbar-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads ruby-modes-autoloads rmail-autoloads
riece-autoloads reftex-autoloads re-builder-autoloads
python-modes-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mailcrypt-autoloads
mail-lib-autoloads ispell-autoloads ilisp-autoloads igrep-autoloads
idlwave-autoloads ibuffer-autoloads hyperbole-autoloads
hm--html-menus-autoloads haskell-mode-autoloads gnus-autoloads
gnats-autoloads games-autoloads fsf-compat-autoloads
fortran-modes-autoloads forms-autoloads footnote-autoloads
eudc-autoloads eterm-autoloads eshell-autoloads escreen-autoloads
erc-autoloads emerge-autoloads eieio-autoloads efs-autoloads
edt-autoloads edit-utils-autoloads ediff-autoloads edebug-autoloads
ecrypto-autoloads ecb-autoloads docbookide-autoloads dired-autoloads
dictionary-autoloads debug-autoloads cookie-autoloads
clearcase-autoloads cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads build-autoloads bbdb-autoloads auctex-autoloads
apel-autoloads ada-autoloads mule-base-autoloads lookup-autoloads
leim-autoloads latin-unity-autoloads egg-its-autoloads edict-autoloads
translate-autoloads local-lisp-autoloads modules-autoloads
mule-autoloads auto-autoloads rsz-minibuf auto-show fontl-hooks
canna-leim tibetan lao devanagari indian slovenian czech romanian ccl
code-cmds gutter-items menubar-items x-menubar mode-motion mouse
behavior itimer auto-save lisp-mode easymenu easy-mmode iso8859-1 page
buff-menu lib-complete loadhist cus-file derived newcomment env
text-props frame obsolete cus-start custom widget cl-extra cl cl-19
packages backquote unicode lucid-scrollbars cut-buffer lucid-menubars
athena-dialogs x c-balloon-help tty-frames tty toolbar native-sound
alsa-sound scrollbar unix-processes multicast network-streams
subprocesses modules menu-accelerator-support menubar md5 xemacs xim
mule gutter tiff png gif jpeg xface xpm xbm lisp-float-type file-coding
linux dialog devices window-system base64)



More information about the XEmacs-Beta mailing list