Bug#243664: kmail: Filters do not match multiple X-Mailing-List headers
Package: kmail
Version: 4:3.2.1-1
Severity: minor
A filter that is supposed to match on X-Mailing-List does not match if
there are multiple X-Mailing-List headers in the received message. I'm
guessing that once it hits the first incidence of X-Mailing-List it
stops scanning headers if it doesn't match.
The filter is set up as shown in
http://members.optusnet.com.au/cef-deb/snapshot4.png
A message that does not filter can be found at
http://members.optusnet.com.au/cef-deb/x-mailing-list-bug.msg (message
text).
The multiple X-Mailing-List headers are seperated by a number of other
headers, as below (taken from offending mail):
X-Mailing-List: <linuxppc-dev@lists.linuxppc.org>
X-Loop: linuxppc-dev@lists.linuxppc.org
Envelope-to: paul@sumlocktest.fsnet.co.uk
Content-Class: urn:content-classes:message
X-me-spamlevel: not-spam
Importance: normal
X-me-spamrating: 5.120257
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
X-OriginalArrivalTime: 12 Apr 2004 23:30:40.0437 (UTC)
FILETIME=[2AB63E50:01C420E6]
Sender: linux-kernel-owner@vger.kernel.org
Precedence: bulk
X-Mailing-List: linux-kernel@vger.kernel.org
Note that I am on linux-kernel@vger.kernel.org (different email address)
and not on linuxppc-dev@lists.linuxppc.org, so I didn't expect to see
messages with both X-Mailing-List headers in them either.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-bk1
Locale: LANG=en_AU, LC_CTYPE=en_AU
Versions of packages kmail depends on:
ii kdebase-kio-plugins 4:3.2.2-1 KDE I/O Slaves
ii kdelibs4 4:3.2.2-1 KDE core libraries
ii ktnef 4:3.2.1-1 KDE TNEF viewer
ii libart-2.0-2 2.3.16-3 Library of functions for 2D graphi
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libfam0c102 2.7.0-5 client library to control the FAM
ii libgcc1 1:3.3.3-6 GCC support library
ii libice6 4.3.0-7 Inter-Client Exchange library
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libkcal2 4:3.2.1-1 KDE calendaring library
ii libkdenetwork2 4:3.2.1-1 KDE Network library
ii libkdepim1 4:3.2.1-1 KDE PIM library
ii libksieve0 4:3.2.1-1 KDE mail/news message filtering li
ii libmimelib1 4:3.2.1-1 KDE mime library
ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expressi
ii libpng12-0 1.2.5.0-5 PNG library - runtime
ii libqt3c102-mt 3:3.2.3-2 Qt GUI Library (Threaded runtime v
ii libsm6 4.3.0-7 X Window System Session Management
ii libstdc++5 1:3.3.3-6 The GNU Standard C++ Library v3
ii libx11-6 4.3.0-7 X Window System protocol client li
ii libxext6 4.3.0-7 X Window System miscellaneous exte
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii xlibs 4.3.0-7 X Window System client libraries m
ii zlib1g 1:1.2.1-5 compression library - runtime
-- no debconf information
Reply to: