Bug 150643

Summary: Filter ignores second address on To: header
Product: [Applications] kmail Reporter: John Palmer <johnp>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ruchir.brahmbhatt
Priority: NOR Keywords: triaged
Version: 1.9.6   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description John Palmer 2007-10-09 21:07:16 UTC
Version:           1.2.4 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu14.1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-16-generic

Kmail filter.
The header was
To: "'xxx x xxxx'" <xxxxx@xxxx.com>, texhax@tug.org
The filter was
To  contains  texhax
The match failed: the logfile read
[15:48:10] 0 = "To" <contains> "texhax" ("xxx x xxxx" <xxxxx@xxxx.com>)
i.e. it seems the second address on the header line was ignored.   procmail would have matched it, IIRC.

[xxx replaces a real name, of a person I do not know, for privacy's sake.  I received the message as a member of the
list texhax@tug.org.]
Comment 1 Ruchir Brahmbhatt 2009-04-21 13:04:54 UTC
I can't reproduce on 1.11.2. Works fine with 2nd to address.