Closed Bug 1329348 Opened 8 years ago Closed 2 years ago

Filter does not work on "Reply-To" field

Categories

(MailNews Core :: Filters, defect)

x86_64
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 212619

People

(Reporter: Ulf.Zibis, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 Build ID: 20161209095719 Steps to reproduce: Added custom filter tag "Reply-To". Entry in VirtualFolders.dat is: OR ("reply-to",contains,@bugs.launchpad.net) Actual results: Nothing. Expected results: Filter messages which "Reply-To" tag contains "@bugs.launchpad.net".
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

(This wouldn't be a linux-only issue)

Can you still reproduce?

Flags: needinfo?(Ulf.Zibis)
OS: Linux → All

Yes, I can still reproduce this.
The same filter (normal with move to other local folder, not virtual) in POP account INBOX works fine.

Flags: needinfo?(Ulf.Zibis)

backend issue?

Flags: needinfo?(acelists)
Product: Thunderbird → MailNews Core
Version: 45 Branch → 45
Attached file Sample email message (deleted) —

Hi,
now this bug also occurs with normal INBOX filter on POP account.
I attach the message for reference.
I also update the bug title.

Extract from msgFilter.dat:
name="Ubuntu"
enabled="yes"
type="17"
action="Move to folder"
actionValue="mailbox://nobody@Local%20Folders/Computer/Linux/Ubuntu"
condition="OR (all addresses,ends with,launchpad.net) OR (from,ends with,ubuntu.com) OR (from,ends with,ubuntuforums.org) OR (from,ends with,ubuntuusers.de) OR ("list-id",ends with,launchpad.net) OR ("reply-to",ends with,bugs.launchpad.net)"

Summary: Virtual folder does not filter "Reply-To" → Filter does not work on "Reply-To" field

TB version now is 68.5.0 (64-Bit) from Ubuntu 18.04 repository.

Flags: needinfo?(acelists)

i can confirm this is still a bug in TB 78. very annoying! this was first mentioned 5 years ago...

in my efforts to work around the bug, i can confirm the following :
in a header such as Reply-To: Some Guy <abcdef@mailgun.org>

  • the filter rule Reply-To [contains] with a complement of 'Some Guy' works correctly
  • the filter rule Reply-To [contains] with a complement consisting of data held within the address brackets [e.g., the string 'mailgun.org'] FAILS.

as there is no Reply-To header in the standard header list for filter rules, i created this rule with the 'Customize...' option. so it seems that, for whatever unfathomable reason, pattern matching stops at the address component of the header for at least one header created with the 'Customize...' option.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE

(In reply to dave from comment #6)

  • the filter rule Reply-To [contains] with a complement of 'Some Guy' works correctly
  • the filter rule Reply-To [contains] with a complement consisting of data held within the address brackets [e.g., the string 'mailgun.org'] FAILS.

I think, this would be worth to file a separate bug, as it may concern other filter rules too.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: