[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#243664: kmail: does not process multiple headers with same name

Package: kmail
Version: 4:3.2.3-1
Followup-For: Bug #243664

KMail only checks the first instance of a header that it encounters for

E.g., assume that a message has these headers:

X-Foo: abc
X-Bar: def
X-Foo: nomatch

If a filter 'nomatch' on the header X-Foo is setup, it will not be
matched by the filter.

This issue is not completely benign, I have an actual use for
it.  One of my accounts forwards mail to a different one, and I want to
filter them into separate mailboxes.  The best indication I could find
was the 'Delivered-To' field.  However, there are multiple
'Delivered-To' headers in messages, and the first one is always the same
in both cases, so I had to resort (hopefully as a temporary measure) to
more unreliable methods.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=lt_LT.UTF-8

Versions of packages kmail depends on:
ii  kdebase-kio-plugins       4:3.2.2-1      KDE I/O Slaves
ii  kdelibs4                  4:3.2.3-4      KDE core libraries
ii  ktnef                     4:3.2.3-1      KDE TNEF viewer
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libc6                     2.3.2.ds1-13   GNU C Library: Shared libraries an
ii  libfam0c102               2.7.0-5        client library to control the FAM 
ii  libgcc1                   1:3.4.1-4      GCC support library
ii  libice6                   4.3.0.dfsg.1-6 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libkcal2                  4:3.2.3-1      KDE calendaring library
ii  libkdenetwork2            4:3.2.3-1      KDE Network library
ii  libkdepim1                4:3.2.3-1      KDE PIM library
ii  libksieve0                4:3.2.3-1      KDE mail/news message filtering li
ii  libmimelib1               4:3.2.3-1      KDE mime library
ii  libpcre3                  4.5-1.1        Perl 5 Compatible Regular Expressi
ii  libpng12-0            PNG library - runtime
ii  libqt3c102-mt             3:3.2.3-4      Qt GUI Library (Threaded runtime v
ii  libsm6                    4.3.0.dfsg.1-6 X Window System Session Management
ii  libstdc++5                1:3.3.4-6      The GNU Standard C++ Library v3
ii  libx11-6                  4.3.0.dfsg.1-6 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:    compression library - runtime

-- no debconf information

Reply to: