Closed Bug 944885 Opened 12 years ago Closed 11 years ago

Virtual folder filter fails on some header fields

Categories

(Thunderbird :: Search, defect)

24 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: Ulf.Zibis, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release) Build ID: 20131115110311 Steps to reproduce: - POP3 account to pop.gmx.net (freemail) since long time - add IMAP account to imap.gmx.net with same user email, no offline store (purpose: better search and de-garbage facilities as via web interface) - on IMAP INBOX add virtual folder and filter on: a) To ends_with yahoogroups.com b) List-Id ends_with yahoogroups.com c) List-Id contains yahoogroups.com e) Reply-To ends_with yahoogroups.com f) Reply-To ends_with yahoogroups.com> g) Reply-To contains yahoogroups.com h) Sender contains yahoogroups.com i) Envelope-To contains gmx.de Actual results: a) works on aaa <xxx@yahoogroups.com> b) fails on aaa <xxx.yahoogroups.com> c) works on aaa <xxx.yahoogroups.com> e) fails on aaa <xxx@yahoogroups.com> f) fails on aaa <xxx@yahoogroups.com> g) fails on aaa <xxx@yahoogroups.com> h) fails on xxx@yahoogroups.com i) fails on aaa <xxx@gmx.de> BTW: In file Yahoo.msf I see: ("list-id",contains,yahoogroups.com\) ("reply-to",contains,yahoogroups.com\) ("Sender",contains,yahoogroups.com\) I'm wondering, why all tags are converted to lower case except "Sender". Expected results: a) OK b) nice to have c) OK e) nice to have f) should work g) should work h) should work i) should work BTW: Normal message filter on POP3 account works fine with Reply-To ends_with yahoogroups.com> on aaa <xxx@yahoogroups.com>
Component: Untriaged → Filters
Component: Filters → Search
> - POP3 account to pop.gmx.net (freemail) since long time > - add IMAP account to imap.gmx.net with same user email, no offline store > (purpose: better search and de-garbage facilities as via web interface) > - on IMAP INBOX add virtual folder and filter on: "Virtual Folder" definition is saved in virtualFolders.dat file. What is saved in virtualFolders.dat for your Virtual Folder? Do you see difference between "predefined Sender" and "Customized Sender(header)", difference on "Sender" between Virtual Folder(virtualFolders.dat) and Message filter(msgFilterrules.dat)? If "search target folders" is IMAP folder only, "Online Search" can be normally requested by Virtual Folder definition. I don't know Tb's spec on "Online Search" or "Local Search" when search target folders are mixed. - Local mail folder - IMAP Offline-Use=On folder - IMAP Offline-Use=Off folder Do you see your problem with "Online Search" on IMAP folder only Virtual Folder? (IMAP SEARCH command is used. Get IMAP log.) If "Local Search" on IMAP folder, one of following is needed to search customized header data(set in mailnews.customHeaders). (a) Set in mailnews.customDBHeaders (b) Offline-Use=On, auto-sync=On, entire mail data is already downloaded by auto-sync Because you looks to love Offline-Use=Off, (b) is impossible. Do you see your problem with (a) followed by "Repair Folder"?
Ulf? (In reply to WADA from comment #1) > > - POP3 account to pop.gmx.net (freemail) since long time > > - add IMAP account to imap.gmx.net with same user email, no offline store > > (purpose: better search and de-garbage facilities as via web interface) > > - on IMAP INBOX add virtual folder and filter on: > > "Virtual Folder" definition is saved in virtualFolders.dat file. > What is saved in virtualFolders.dat for your Virtual Folder? > Do you see difference between "predefined Sender" and "Customized > Sender(header)", difference on "Sender" between Virtual > Folder(virtualFolders.dat) and Message filter(msgFilterrules.dat)? > > If "search target folders" is IMAP folder only, "Online Search" can be > normally requested by Virtual Folder definition. > I don't know Tb's spec on "Online Search" or "Local Search" when search > target folders are mixed. > - Local mail folder > - IMAP Offline-Use=On folder > - IMAP Offline-Use=Off folder > > Do you see your problem with "Online Search" on IMAP folder only Virtual > Folder? > (IMAP SEARCH command is used. Get IMAP log.) > > If "Local Search" on IMAP folder, one of following is needed to search > customized header data(set in mailnews.customHeaders). > (a) Set in mailnews.customDBHeaders > (b) Offline-Use=On, auto-sync=On, entire mail data is already downloaded by > auto-sync > Because you looks to love Offline-Use=Off, (b) is impossible. > > Do you see your problem with (a) followed by "Repair Folder"?
Flags: needinfo?(Ulf.Zibis)
Whiteboard: [closeme 2014-12-15]
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(Ulf.Zibis)
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2014-12-15]
You need to log in before you can comment on or make changes to this bug.