Closed
Bug 84283
Opened 24 years ago
Closed 24 years ago
can't get mail: Exception : In mail commands
Categories
(SeaMonkey :: MailNews: Message Display, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: spam, Assigned: dougt)
Details
(Keywords: smoketest, Whiteboard: investigating (9am, 6-6-01))
Attachments
(3 files)
1.31 KB,
patch
|
Details | Diff | Splinter Review | |
529 bytes,
patch
|
Details | Diff | Splinter Review | |
1.84 KB,
patch
|
Details | Diff | Splinter Review |
Linux CVS Pulled around 21:00
gcc 2.96-81
When i click "get mail" i only see "Exception : In mail commands" in console.
Mail isn't fetched, no throbber spins. News are OK.
Tested using alternate 3-pane and POP accounts.
Comment 1•24 years ago
|
||
Same behavior on 2001-06-05-20-trunk/Win98.
Comment 2•24 years ago
|
||
...but 2001-06-05-04-trunk works fine.
Smoketest blocker since it don't work on windows either.
Perhaps related:
-The first two times i started mailnews, the window came up
empty - just window-frame/titlebar. No error msg. The third attempt started
mailnews seemingly OK.
-Sending mail works. I just can't get new mail msg's.
-Bug also affects default pane setup.
Comment 5•24 years ago
|
||
this is affecting windows branch build 2001-06-06-06-0.9.1
note: created a new profile with the same account that I am trying to get the
mail from on a 4.77 machine and was able get mail messages just fine.
Updated•24 years ago
|
Priority: -- → P1
Target Milestone: --- → mozilla0.9.1
Comment 6•24 years ago
|
||
cc'ing mscott and Navin
New profile on linux (not imported): same bug.
Btw..with the clean profile I was not prompted for password when i clicked "Get
Msg".
Not a server problem, can get mail with 6-4 build on same system at about the
same time. Big regression.
Comment 10•24 years ago
|
||
bienvenu is deep in the debugger. from what he's aimed me, it looks like
dougt's changes may be the cause.
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
bienvenu has another, simpler fix. he's testing it now.
- rv = NS_CheckPortSafety(port, "pop3");
+ rv = NS_CheckPortSafety(port, "pop");
update coming soon...
Comment 13•24 years ago
|
||
Comment 14•24 years ago
|
||
more about dougt's changes:
will they prevent someone from using pop or news to run on any nonstandard
ports? looking at his diffs, it doesn't look like it.
> if (port == NEWS_PORT || port == 995 || port == 532) // port 995 is NNTP/SSL,
532 is netnews
563 is the standard NNTP over SSL, not 995.
Comment 15•24 years ago
|
||
> if (port == POP3_PORT || port == 593) // 593 is POP3/SSL
the default POP over SSL port is 995
again, it looks like pop or nntp over non-standard ports will not work.
Comment 16•24 years ago
|
||
doug said for mail protocols we are always accepting connections on all ports. I
talked about this on the phone with him yeterday 'cause I was worried that we
wouldn't be allowing connections on some of the non-standard ports we frequently
encounter. The mail protocols are supposed to return PR_TRUE whenever we ask a
mail protocol handler if it allows connections on a particular port. Is this not
the case for news and pop? I was under the impression that it was true for all
mail protocols.
Assignee | ||
Comment 17•24 years ago
|
||
My fault; Sorry.
I thought we were talking about oonly smtp and IMAP for the potential commercial
bustage.
Patch:
Index: local/src/nsPop3Service.cpp
===================================================================
RCS file: /cvsroot/mozilla/mailnews/local/src/nsPop3Service.cpp,v
retrieving revision 1.68.32.1
diff -u -r1.68.32.1 nsPop3Service.cpp
--- nsPop3Service.cpp 2001/06/05 23:44:11 1.68.32.1
+++ nsPop3Service.cpp 2001/06/06 17:03:12
@@ -314,10 +314,7 @@
NS_IMETHODIMP nsPop3Service::AllowPort(PRInt32 port, const char *scheme, PRBool
*_retval)
{
- if (port == POP3_PORT || port == 593) // 593 is POP3/SSL
- *_retval = PR_TRUE;
- else
- *_retval = PR_FALSE;
+ *_retval = PR_TRUE; // allow pop on any port
return NS_OK;
}
Index: news/src/nsNntpService.cpp
===================================================================
RCS file: /cvsroot/mozilla/mailnews/news/src/nsNntpService.cpp,v
retrieving revision 1.189.12.1
diff -u -r1.189.12.1 nsNntpService.cpp
--- nsNntpService.cpp 2001/06/05 23:44:14 1.189.12.1
+++ nsNntpService.cpp 2001/06/06 17:03:13
@@ -1202,10 +1202,7 @@
NS_IMETHODIMP nsNntpService::AllowPort(PRInt32 port, const char *scheme, PRBool
*_retval)
{
- if (port == NEWS_PORT || port == 995 || port == 532) // port 995 is NNTP/SSL,
532 is netnews
- *_retval = PR_TRUE;
- else
- *_retval = PR_FALSE;
+ *_retval = PR_TRUE; // allow news on any port
return NS_OK;
}
Seth, this is clearly my bug. Reassigning. I will check it into the branch and
to trunk once r/sr/a'ed
Comment 19•24 years ago
|
||
this bug will require bienvenu's fix (see the last attachment).
r/sr=sspitzer on that. (mscott, dougt, can you review also)?
dougt, I'll get you a new bug for the NNTP, POP, LDAP port problems.
Comment 20•24 years ago
|
||
OK, please make sure you check in my patch too, because otherwise we'll never
get to the pop3 protocol to ask it about the ports it can handle!
Assignee | ||
Comment 21•24 years ago
|
||
Assignee | ||
Comment 22•24 years ago
|
||
done. can I get a r/sr?
Reporter | ||
Comment 23•24 years ago
|
||
Is there a related HTTP hickup? When opening new webpages with middle
mouse click (in new window) i now and then see only framwork - GUI and
content never paints. Never saw that before today, but same thing happened when
i tried to start mailnews earlyer. (see comment above)
Comment 24•24 years ago
|
||
r/sr=sspitzer
Assignee | ||
Comment 25•24 years ago
|
||
RKA - I would be surprised. File a new bug.
seth - thanks - you da man.
thanks everyone for quickly jumping on this. I will seek approval now.
Comment 26•24 years ago
|
||
r=mscott
Comment 27•24 years ago
|
||
a=blizzard on behalf of drivers for the trunk and the branch
Assignee | ||
Comment 28•24 years ago
|
||
set is going to open up some bugs regarding what ports mail news should be
accepting. These bugs will be for 0.9.2.
The fix has been checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 29•24 years ago
|
||
Is there a particular reason that an error dialog wasn't shown to the user?
Comment 30•24 years ago
|
||
verified in linux commercial build 2001-060-06-11-trunk
will wait for mac and windows to actually mark verified.
Comment 31•24 years ago
|
||
need to verify on the branch as well. I'll ask the mail qa group.
Comment 32•24 years ago
|
||
OK with commercial branch 2001-06-06-12-0.9.1 on win98
Comment 33•24 years ago
|
||
By uisng WinNT 2001-06-06-14-0.9.1 build POP account.
I can read & send mails from the POP account.
This works on my linux 2001-06-06-13-0.9.1 build, using my POP3 account.
Anybody have the other plats handy and can verify?
Comment 35•24 years ago
|
||
OK using commercial branch build 2001-06-06-12-.0.9.1 mac OS 9.0
Comment 36•24 years ago
|
||
I am wondering to know whether we have POP/SSL for internal testing or not?
Should we verify on POP/SSL as well?
This also works on Mac OS 9.1 with build 2001-06-06-12-0.9.1
Comment 38•24 years ago
|
||
Using branch builds on all 3 platforms get mail for pop account works. Verified
for branch will check trunk now.
Keywords: vtrunk
Comment 39•24 years ago
|
||
verified on trunk builds 2001-06-13 Verified for both branch and trunk
Status: RESOLVED → VERIFIED
Keywords: vtrunk
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•