Closed Bug 374258 Opened 17 years ago Closed 17 years ago

Only a few filter rules work if they are run on IMAP folders

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 184490

People

(Reporter: bugs, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: version 2.0pre (20070314)

It is possible to select various mail header fields in TB's filter dialog. Many of the filter rules defined on IMAP accounts don't work.

Reproducible: Always

Steps to Reproduce:
1. Create a message filter, e.g. "Sender contains 'mlm@some.org'" that moves messages to aother folder.

2. Run it on an IMAP folder that contains a message with header
 "Sender: mlm@some.org"


Actual Results:  
The message is not being moved.

Expected Results:  
The message should have been moved according to the filter rules.
With automatic run, or manual. If only on manual run -> bug 184490.
The issue exists at least in the "Run Now" case.

When the button is hit, TB seems to do nothing. Not even a connection to the server is established.

Filtering subjects works, and it seems that only headers that are available on the client can be filtered. However, the feature is not very useful as it is.

Note: this report applies to Thunderbird version 2.0pre (20070315).
This wouldn't be 184490, as the filter described in comment 0 doesn't use a custom header.

Generally speaking, Run Now *does* correctly execute filters on an IMAP folder, so reporter has some setting or configuration (or perhaps an extension) that's interfering, or perhaps there's an issue with the IMAP server.
(In reply to comment #3)
> This wouldn't be 184490, as the filter described in comment 0 doesn't use a
> custom header.

I assumed reporter had added Sender as a custom header (as it's not listed by default). Reporter: is that correct? Have you had a chance to test the filter on incoming mail too?
TB's header dropdown list initially contains Subject, From, Date, Priority, Status, To, Cc, To or Cc, Age In Days, and Size. In this sense Sender and all other headers, that are not in the dropdown list, may be called "custom" and I've defined a custom rule (Sender contains 'mlm@some.org').

So the fastest fix would be to disable the customize button for IMAP accounts.

But as already said, this would not be very satisfactory, since many use cases cannot be dealt with, e.g. filtering mailing list (Sender, List-Id, List-Post), spam headers, ...
I'll try to filter incoming mail and give you feedback a.s.a.p.
OK, custom filters *do* work on incoming mails, so forget about disabling the customize button. It would suffice to disable the "Run Now" button for custom filters on IMAP accounts :)

As a temporary workaround one can select mails using the search dialog and then perform a bulk drag&drop move to the destination folder.
This fits bug 184490 then.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.