Closed Bug 1770440 Opened 3 years ago Closed 3 years ago

Custom filter on Reply-to not working with "Run Filters on Message".

Categories

(MailNews Core :: Filters, defect)

Thunderbird 91
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 184490

People

(Reporter: christophe.lyon, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

I added a new custom field for mail filtering ("Reply-to"), but couldn't make it work.

I read https://bugzilla.mozilla.org/show_bug.cgi?id=622307 and https://bugzilla.mozilla.org/show_bug.cgi?id=184490, and after I repaired the folder now partially work.

Actual results:

After repair, the filter is taken into account if I do "Run Filters on Folder", but not if I select a message and do "Run Filters on Message".

The condition in my msgFilterRules.dat is:
condition="OR (all addresses,contains,XXX) OR ("reply-to",contains,XXX)"

Expected results:

This should work whether the user runs the filters on the folder or on the specific message.

(When referencing bugs, just write "bug" and the number after it. Like bug 622307 and bug 184490.)

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

(In reply to Magnus Melin [:mkmelin] from comment #1)
*** This bug has been marked as a duplicate of bug 212619 ***

No, this is not a dupe of bug 212619.
Bug 212619 comment 1 provides a walkthrough which Christophe Lyon followed:

(In reply to Christophe Lyon from comment #0)

I added a new custom field for mail filtering ("Reply-to"), but couldn't make it work.

After repair, the filter is taken into account if I do "Run Filters on Folder", but not if I select a message and do "Run Filters on Message".

I can confirm this.

I have created two filters:
A: When From contains from@ => Tag Message Tag_A
B: When Reply-to contains Reply-to@ => Tag Message Tag_B

With Menu: Tools -> Run Filter on Folder both tags are set.
After deleting the tags and selecting the same messages, however, only Tag_A is set with Menu: Tools->Run Filter on Messages.

Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
Status: REOPENED → NEW
Component: Untriaged → Filters
Product: Thunderbird → MailNews Core
Summary: Custom filter on Reply-to not working → Custom filter on Reply-to not working with "Run Filters on Message".

After some reading of Bug 184490 it is another dupe of that one.

Status: NEW → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.