Closed
Bug 208026
Opened 21 years ago
Closed 21 years ago
Fetching mail via IMAP on a cyrus server doesn't work and crashes Mozilla afterwards
Categories
(MailNews Core :: Networking: IMAP, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.4final
People
(Reporter: fabian.seitz, Assigned: Bienvenu)
References
Details
(Whiteboard: a=asa,sspitzer [fixed on trunk and branch])
Attachments
(2 files)
10.24 KB,
text/plain
|
Details | |
2.21 KB,
patch
|
sspitzer
:
review+
sspitzer
:
superreview+
sspitzer
:
approval1.4+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529 Fetching mail from a cyrus IMAP server hangs. The windows hourglass doesn't vanish and new mails are not fetched. After a very long time a message alert says that the connection failed. Mozilla hangs when the mail windows is closed. My other IMAP account works fine, so I guess it's a cyrus-specific problem. Reproducible: Always Steps to Reproduce: 1. Open MailNews 2. 3. Actual Results: Fetching mail hangs after opening MailNews. After closing MailNews Mozilla hangs. Expected Results: Fetch the mail. Until Mozilla 1.3.1 (maybe even 1.4a and 1.4b, but I tested these version not very thoroughly due to other problems) this problem didn't show up.
Reporter | ||
Updated•21 years ago
|
Summary: Fetching mail via IMAP on a cyrus sercer doesn't work and crashes Mozilla afterwards → Fetching mail via IMAP on a cyrus server doesn't work and crashes Mozilla afterwards
Assignee | ||
Comment 1•21 years ago
|
||
I have to say this works for me. Could you try generating an imap protocol log of this fetching failing? Can you connect to the server at all, e.g., does it log on to the server? http://www.mozilla.org/quality/mailnews/mail-troubleshoot.html#imap
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 2•21 years ago
|
||
works.imap.org is the account that works, hangs.imap.org the server that causes the problem.
Reporter | ||
Comment 3•21 years ago
|
||
I posted a logfile as you wished. I just opened MailNews and clicked on the inbox.
Assignee | ||
Comment 4•21 years ago
|
||
ah, thx, I see the problem - your server claims to support auth-crammd5, but it hangs when we attempt that logon. So, until we have a pref to disable cram-md5 authentication, you're either going to have to fix it on the server-side, or just wait. I'll try to add support for that pref soon.
Reporter | ||
Comment 5•21 years ago
|
||
I see - was this preference changed from version 1.3.1 to 1.4x ?
Assignee | ||
Comment 6•21 years ago
|
||
the ability to do cram-md5 was added between 1.3.1 and 1.4x, but the pref was only added for pop3 (or smtp, or both), but not imap. The pref is only needed for broken server configurations, but it turns out that there are a lot out there :-(
Reporter | ||
Comment 7•21 years ago
|
||
thx for the answer In a way it's still a bug - failed authentication via cram-md5 shouldn't cause a complete crash of the application.
Assignee | ||
Comment 8•21 years ago
|
||
yes, you're right, it shouldn't hang or crash - there is a known problem that the networking layer isn't always telling us about network connections getting dropped, which probably accounts for the hang, and I suspect the crash as well, if we're using a bad socket.
Assignee | ||
Comment 9•21 years ago
|
||
this adds support for the pref to turn off secure authentication attempts. I'd like to get bug 205571 checked in first so that there will be a UI for this pref, and secure auth will be on by default.
Comment 10•21 years ago
|
||
we want this for the 1.4 branch.
Comment 11•21 years ago
|
||
Comment on attachment 124822 [details] [diff] [review] proposed fix r/sr/a=sspitzer before I land on the 1.4 branch, I'll get a second driver (and adt) to approve.
Attachment #124822 -
Flags: superreview+
Attachment #124822 -
Flags: review+
Attachment #124822 -
Flags: approval1.4+
Assignee | ||
Comment 12•21 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 13•21 years ago
|
||
a=adt. Please land this fix on the Mozilla 1.4 branch and add fixed1.4 to the keyword.
Assignee | ||
Comment 14•21 years ago
|
||
Fabian, with tomorrow's build, can you bring up the account settings for your imap server that's causing the problem, click on server settings, and uncheck the "use secure authentication" box. Then, to be safe, restart, and try again. The problem should go away.
Assignee | ||
Comment 15•21 years ago
|
||
*** Bug 205012 has been marked as a duplicate of this bug. ***
Updated•21 years ago
|
Whiteboard: a=asa
Comment 16•21 years ago
|
||
landed on branch, a=asa,sspitzer,adt
Keywords: fixed1.4
Whiteboard: a=asa → a=asa,sspitzer
Updated•21 years ago
|
Whiteboard: a=asa,sspitzer → a=asa,sspitzer [fixed on trunk and branch]
Reporter | ||
Comment 17•21 years ago
|
||
it works :-) fortunately the new setting was turned off after upgrading - I hope that's default Thank you very much for the fast solution of this problem
Assignee | ||
Comment 18•21 years ago
|
||
I flipped the default back to false because of some problems with POP - np.
Comment 19•21 years ago
|
||
Fabian, when checking this bug did you use the trunk build? If so then could you also try a branch build?
Reporter | ||
Comment 20•21 years ago
|
||
Hi, I used this build (the first nightly build after you fixed the bug): Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030604 Which kind of build is this ? Where can I get the other one ?
Assignee | ||
Comment 21•21 years ago
|
||
that's a trunk build - I don't know if Mozilla has released a 1.4 final candidate build with my fix in it or not. It looks to me like not. I'm not sure when they're going to do another release candidate build. Probably tonight/tomorrow morning.
Comment 22•21 years ago
|
||
Fabian, try this link to download the latest mozilla branch build, thanks: ftp://ftp.mozilla.org/pub/mozilla/nightly/2003-06-05-08-1.4
Reporter | ||
Comment 23•21 years ago
|
||
I downloaded and installed this build. Although the new checkbox in mail&newsgroup settings is missing, the bug doesn't show up.
Assignee | ||
Comment 24•21 years ago
|
||
right, thx, Fabian. On the branch, we didn't put in the UI for disabling the secure authentication; we just made it disabled by default.
Comment 25•21 years ago
|
||
Thanks everyone! Verified Fixed.
Comment 26•21 years ago
|
||
*** Bug 209278 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•