Closed Bug 269152 Opened 20 years ago Closed 20 years ago

Msg Filters - Customized Headers - Limited Conditionals Offered

Categories

(MailNews Core :: Filters, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 242550

People

(Reporter: Walt, Assigned: mscott)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Build Identifier: 

When one adds a Customized Header, and tries to use it in a filter, only a very 
limited number of Conditionals are offered.  Just the four 
of "contains", "is", "begins with", and "ends with".

In contrast, when using the built-in header names, they also allow the 
selection of the conditionals like "doesn't contain" and "isn't".

As an enhancement, it would be nice if for Customized Header names, the 
conditionals of "doesn't contain" and "isn't" be allowed for selection.

BTW, Netscape 4.80 allows this.  And this is where I am having a problem moving 
over my time-tested filters over from Netscape to TB.

Reproducible: Always
Steps to Reproduce:
1.Open "Filter rules" under Tools.
2.Select "New" from the list of buttons on the right.
3.Under the pull-down showing "Subject", select "Customize..." 
4.Type in a New Message Header, for example, try "Reply-To"
5.Select "Add" from the list of buttons on the right.
6.Again under the pull-down showing "Subject", select "Reply-To"
7.Under the pull-down showing "contains", note that it only offers four 
conditionals.
Actual Results:  
Four conditionals are currently offered: 
"contains"
"is"
"begins with"
"ends with"

Expected Results:  
Six conditionals should be offered:
"contains"
"doesn't contain"
"is"
"isn't"
"begins with"
"ends with"

Netscape Messager v4.80 offers these two additional Conditionals for Customized 
Headers.
(In reply to comment #0)

I agree, it would be an important enhancement. I would use it for excluding
specific messages from virtual folders: I redirect to include_list or
exclude_list (to my own POP3 server) in order to include/exclude specific
messages that are false negative or false positive in the general filtering
criteria. Until now I only can use the include_list and it works fine.

The only problem is that the search on customized header 'resent-to' is much
slower that on common headers.
Tb 1.0 seems to have all 6...
Component: General → MailNews: Filters
Product: Thunderbird → Core
Version: unspecified → Trunk
this is probably a dup of a bug I fixed.
Whiteboard: DUPEME
(In reply to comment #3)
> this is probably a dup of a bug I fixed.

Looking at nsMsgImapSearch.cpp, I only see all 6 for offlineMailFilterTable. So
the other operators are still missing for offlineMailTable, and both Mail and
MailFilter for online (IMAP).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Yes, a dupe -- but not of a bug that's been fixed.  David, I recall you fixing 
this for a different domain -- MailViews, I think -- but the IMAP problem has 
been lying around for a long while.

*** This bug has been marked as a duplicate of 242550 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → MailNews Core
Cleanup *dupeme* whiteboard flag from bugs that are marked as Resolved Duplicate!
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.