Closed Bug 299229 Opened 19 years ago Closed 19 years ago

'Search Messages...' for 'Subject, Contains' is helpless on IMAP account/folder

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: sgautherie, Unassigned)

Details

Attachments

(1 file)

[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050629] (nightly) (W98SE)

(This is not a (recent) regression.)

While this a search on 'Subject, Contains' on my POP3 account works fine,
it's useless on my IMAP account:

it seems to search somehow, but never finds anything :-(

This is different from bug 24654 about unavailable bodies.

Same bug with
[Mozilla Thunderbird, version 1.0+ (20050319)] (nightly) (W98SE)
search for subject in an imap folder searches on the imap server - so I suspect
it's your imap server that's being useless :-)

If you're unconvinced, you can generate an imap protocol log

http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap

please re-open if you determine that search on your imap server works correctly
but thunderbird is doing something wrong.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Attached file IMAP log from TB
I let you check the log, as I don't know how to interpret it...
(In reply to comment #1)
> search for subject in an imap folder searches on the imap server - so I suspect

Ah... Couldn't the search be performed on the locally retrieved headers,
as I suppose they are, when searching an opened folder !?
that log shows us searching for messages containing the subject "178091" and not
getting any matches from the server. Nor do we get any errors from the server.
So the server is broken.

We do our imap searches on the imap server. There was a request to have a
checkbox ui for searching locally instead of on the server. I don't know if that
ui was put in seamonkey or not. A workaround is to go offline before doing your
search, and then we'll search just locally.
(In reply to comment #4)
> So the server is broken.

Agreed ... I'll ask my ISP.

> We do our imap searches on the imap server. There was a request to have a
> checkbox ui for searching locally instead of on the server. I don't know if that
> ui was put in seamonkey or not. A workaround is to go offline before doing your
> search, and then we'll search just locally.

That UI is not in the (old) TB I have, nor in the current MAS Trunk.

But your trick works fine in both. Thanks. :-)

[Mozilla Thunderbird, version 1.0+ (20050319)] (nightly) (W98SE)
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050629] (nightly) (W98SE)
Status: RESOLVED → VERIFIED
(In reply to comment #4)
> There was a request to have a
> checkbox ui for searching locally instead of on the server. I don't know if that
> ui was put in seamonkey or not.

This is (MAS) bug 83968;
and a patch awaits Scott's super-review there...
(In reply to comment #4)
> that log shows us searching for messages containing the subject "178091" and not
> getting any matches from the server. Nor do we get any errors from the server.
> So the server is broken.

Oh, last thought:
Could TB/MAS detect such a case (broken reply) and report it to the user ?

Idea: "server does not support search" instead of "0 found", on status bar.
Component: MailNews: Search → MailNews: Message Display
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: