Closed Bug 84283 Opened 23 years ago Closed 23 years ago

can't get mail: Exception : In mail commands

Categories

(SeaMonkey :: MailNews: Message Display, defect, P1)

x86
All
defect

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)

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.
Same behavior on 2001-06-05-20-trunk/Win98.
...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.
Severity: normal → blocker
Keywords: smoketest
OS: Linux → All
CC dougt. This could be netwerk.
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.
Priority: -- → P1
Target Milestone: --- → mozilla0.9.1
cc'ing mscott and Navin
investigating now.
Whiteboard: investigating (9am, 6-6-01)
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.
bienvenu is deep in the debugger. from what he's aimed me, it looks like dougt's changes may be the cause.
bienvenu has another, simpler fix. he's testing it now. - rv = NS_CheckPortSafety(port, "pop3"); + rv = NS_CheckPortSafety(port, "pop"); update coming soon...
Attached patch proposed patchSplinter Review
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.
> 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.
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.
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
.
Assignee: sspitzer → dougt
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.
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!
done. can I get a r/sr?
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)
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.
r=mscott
a=blizzard on behalf of drivers for the trunk and the branch
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: 23 years ago
Resolution: --- → FIXED
Is there a particular reason that an error dialog wasn't shown to the user?
verified in linux commercial build 2001-060-06-11-trunk will wait for mac and windows to actually mark verified.
need to verify on the branch as well. I'll ask the mail qa group.
OK with commercial branch 2001-06-06-12-0.9.1 on win98
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?
OK using commercial branch build 2001-06-06-12-.0.9.1 mac OS 9.0
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
Using branch builds on all 3 platforms get mail for pop account works. Verified for branch will check trunk now.
Keywords: vtrunk
verified on trunk builds 2001-06-13 Verified for both branch and trunk
Status: RESOLVED → VERIFIED
Keywords: vtrunk
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: