Package: icedove
Version: 2.0.0.16-1
Severity: wishlist
Tags: patch

Hi,

as highlighted in the news recently, some Cisco products replace the string
"STARTTLS" in an EHLO response by XXXXXXXA in the default configuration,
making clients fall back to unencrypted connections or giving up, depending
on configuration.

This patch makes Thunderbird/Icedove interpret the replacement string as the
original, reenabling encryption.

   Simon

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.26-1-powerpc
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages icedove depends on:
ii  debianutils            2.30              Miscellaneous utilities specific t
ii  fontconfig             2.6.0-1           generic font configuration library
ii  libatk1.0-0            1.22.0-1          The ATK accessibility toolkit
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-6           The Cairo 2D vector graphics libra
ii  libfontconfig1         2.6.0-1           generic font configuration library
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.2-1         GCC support library
ii  libglib2.0-0           2.16.5-1          The GLib library of C routines
ii  libgtk2.0-0            2.12.11-3         The GTK+ graphical user interface 
ii  libhunspell-1.2-0      1.2.6-1           spell checker and morphological an
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libnspr4-0d            4.7.1-3           NetScape Portable Runtime Library
ii  libnss3-1d             3.12.0-5          Network Security Service libraries
ii  libpango1.0-0          1.20.5-2          Layout and rendering of internatio
ii  libpng12-0             1.2.27-1          PNG library - runtime
ii  libstdc++6             4.3.2-1           The GNU Standard C++ Library v3
ii  libx11-6               2:1.1.4-2         X11 client-side library
ii  libxft2                2.1.12-3          FreeType-based font drawing librar
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  psmisc                 22.6-1            Utilities that use the proc filesy
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

icedove recommends no packages.

Versions of packages icedove suggests:
pn  icedove-gnome-support         <none>     (no description available)
pn  latex-xft-fonts               <none>     (no description available)
ii  libthai0                      0.1.9-4    Thai language support library

-- no debconf information
Index: icedove-2.0.0.16/build-tree/mozilla/mailnews/compose/src/nsSmtpProtocol.cpp
===================================================================
--- icedove-2.0.0.16.orig/build-tree/mozilla/mailnews/compose/src/nsSmtpProtocol.cpp	2008-09-17 18:31:15.000000000 +0200
+++ icedove-2.0.0.16/build-tree/mozilla/mailnews/compose/src/nsSmtpProtocol.cpp	2008-09-17 18:31:47.000000000 +0200
@@ -728,6 +728,10 @@
         {
             SetFlag(SMTP_EHLO_STARTTLS_ENABLED);
         }
+        else if (responseLine.Compare("XXXXXXXA", PR_TRUE) == 0)
+        {
+            SetFlag(SMTP_EHLO_STARTTLS_ENABLED);
+        }
         else if (responseLine.Compare("DSN", PR_TRUE) == 0)
         {
             SetFlag(SMTP_EHLO_DSN_ENABLED);

Reply via email to