Open Bug 1148246 Opened 6 years ago Updated 5 years ago
Thunderbird Message Filter doesn't filter my message
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20150320202338 Steps to reproduce: Created the filter as follows: name="EMGC" enabled="yes" type="17" action="Move to folder" actionValue="mailbox://nobody@Local%20Folders/SMPDEV/EMGC" condition="OR (to or cc,contains,emgc_us) OR (to or cc,contains,emgc_us_grp)" Got a email with the following headers: Received: from example.com (/X.X.X.X) by default (XXX Gateway v4.0) with ESMTP ; Thu, 26 Mar 2015 17:49:25 -0700 Received: from localhost.localdomain (example.com [X.X.X.X]) by example.com (X.X.X/X.X.X) with ESMTP id XXXX; Fri, 27 Mar 2015 00:49:25 GMT Date: Fri, 27 Mar 2015 00:49:25 GMT Message-Id: <firstname.lastname@example.org> X-IntgInfo: none Subject: EMGC_PT.AGNTSAAS_LINUX.X64_150324.2004.SPRINT29 is available at X/X/X X-Mailer: Mail::Mailer[v2.06] Net::SMTP[v2.29] Errors-To: User1 <email@example.com>, User2 <firstname.lastname@example.org> X-UserId: aime Content-Type: text/plain Reply-To: User1 <email@example.com>, User2 <firstname.lastname@example.org> To: email@example.com To: User1 <firstname.lastname@example.org> To: User2 <email@example.com> From: User1 <firstname.lastname@example.org>, User2 <email@example.com> Actual results: Message is not filtered Expected results: Message should be filtered and moved to the correct folder.
(In reply to Rahul Kumar Gupta from comment #0) > To: firstname.lastname@example.org > To: User1 <email@example.com> > To: User2 <firstname.lastname@example.org> "Max number of To:" is 1. http://tools.ietf.org/html/rfc5322#section-3.6 If multiple To:, result is unpredictable, because "which one is correct one if multiple To is wrongly used" is never defined. Header parser may use first one, but filter may use last one. INVALID.
As per my understanding, From can be only 1 but To Receipts can be definitely more than one. Also the filter says "contains" and not equals, so it should result in a match.
> X-Mailer: Mail::Mailer[v2.06] Net::SMTP[v2.29] What mailer does the mail sender use? Please open bug for the mailer, instead of opening BUG at bugzilla.mozilla.org for Firefox, Thunderbird, SeaMokey etc.
Mail Client i am using is Thunderbird and it is able to process this mail indicating the headers are valid. As the filter feature used is from Thunderbird, hence logged the bug against Thunderbird. Thanks!
You need to log in before you can comment on or make changes to this bug.