Closed Bug 119154 Opened 23 years ago Closed 23 years ago

"Command unrecognised: UID SEARCH" while sending message

Categories

(MailNews Core :: Networking: IMAP, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ian, Assigned: Bienvenu)

Details

Attachments

(1 file)

STEPS TO REPRODUCE 1. Reply to a message. 2. Click Send. > A dialog appears (this is probably server-dependent and doesn't always occur even on my server, although it is quite frequent): The current command did not succeed. The mail server responded: Command unrecognised: UID SEARCH The bug is: Why exactly did the server say "Command unrecognised: UID SEARCH"? It usually works. Sometimes it doesn't. It's very confusing. I'm using an IMAP server provided by dreamhost.com. I can provide test accounts on request.
*** Bug 119155 has been marked as a duplicate of this bug. ***
=>imap?
Assignee: ducarroz → mscott
Component: Composition → Networking - IMAP
QA Contact: sheelar → huang
I don't speak IMAP, but to me it sounds like the IMAP server doesn't want you to log in, and so it fails. Is this even a bug in Mozilla? Bienvenu, can you help here?
It's nothing to do with logging in - it has to do with issuing a search command to find the uid of the message we just appended to the sent folder. Your imap server doesn't support SEARCH, it seems (though it shouldn't advertise itself as an imap4 rev1 server if that's the case). However, I may have fixed this yesterday - we really only want to be issuing this search command if we're saving a draft/template. Try today's build.
This was today's build. CVS tip about 12 hours old now. Note that this error only occurs half the time, which is what I thought was weird. I'll set up an account for you.
er, well, I may have broken it then. Did it just start happening? I would have thought my changes would make it less likely we'd get into this code...But I'll try the test account once you get it to me.
IMAP Server: mail.damowmow.com Username: m2079682 Password: mozilla e-mail address: test@damowmow.com The exact message given in this bug did indeed just start happening, although I have had other error messages in the past. (I just couldn't reproduce them very reliably so I did not report them.) The test account should become active over the next hour or two.
my mistake - the server does support search; it just barfs with that error when you try to issue a search when not in the selected state. Which was the unfortunate affect of my last checkin, because of coding error on my part. Fix upcoming.
Assignee: mscott → bienvenu
Attached patch proposed fix (deleted) — Splinter Review
if selected mailbox name is null OR it's not the desired mailbox, we need to issue the select.
Comment on attachment 64306 [details] [diff] [review] proposed fix sr=sspitzer
Attachment #64306 - Flags: superreview+
Comment on attachment 64306 [details] [diff] [review] proposed fix r=hwaara
Attachment #64306 - Flags: review+
I have an wu-imap 2000c server that is experiencing the same problem.
any server that doesn't support uidplus will potentially have this problem. I'll check in the fix when the tree opens.
fix checked in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
cool :-)
haven't had this bug for a while -- VERIFIED
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: