Since I wrote this email I've been able to narrow down the problem and I believe I've taken netscape out of the equation. Attached is a copy of a telnet session to my James server where James disconnects after I try to retrieve a message:

+OK mailhost.perspectivesoftware.com POP3 server (JAMES POP3 Server @@VERSION@@)
ready
user **********
+OK
pass ***********
+OK Welcome *************
list
+OK 1 715
1 715
.
retr 1
+OK Message follows



Connection to host lost.



Additionally I've found that if I replace the FileStreamStore for that specific message with a FileStreamStore from a valid message, I'll be able to receive through telnet, and Netscape will have no problem popping. I can generate emails that will cause this problem simply by doing


cat - | mail [EMAIL PROTECTED]
test
(ctrl-d)

from a linux box. So I think its a specific problem with James handling the formatting or characters in messages. Are there any changes in the latest James that could affect this behavior?

I'm using redhat 8.0, and I'm currently on James 2.1.2.

Thanks

-J

Noel J. Bergman wrote:

Jay,

The only thing that should allow a message to be deleted twice is either a
RSET command, or two parallel sessions.  I think I looked, and you had the
same worker id, so the later would not be the cause.

I don't have time to look over Netscape's code.  Do any of these look
relevent?

http://bugzilla.mozilla.org/buglist.cgi?query_format=&short_desc_type=allwor
dssubstr&short_desc=&product=MailNews&component=Networking%3A+POP&long_desc_
type=substring&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&sta
tus_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords
&keywords=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailassig
ned_to1=1&emailtype1=exact&email1=&emailassigned_to2=1&emailreporter2=1&emai
lqa_contact2=1&emailtype2=exact&email2=&bugidtype=include&bug_id=&votes=&cha
ngedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Bug+Numb
er&field0-0-0=noop&type0-0-0=noop&value0-0-0=

There are quite a few, including a surprisingly large number of major and
critical bugs against their POP3 service.

However, it seems that Netscape also keeps a client side log of the POP3
transaction.  Can you see what IT thinks is happening?  It reports its
internal state, for example, which might provide a clue.

--- Noel

-----Original Message-----
From: Jay Kraly [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 13:18
To: James Users List
Subject: RE: pop3 issue on specific message


Noel,


I ran the telnet test and everything worked as expected (I couldn't
delete the same message twice).  I'm still having problems popping
messages from James but don't have any new ideas as to what might be
causing it.

-J



Its true that James doesn't hang, rather it seems to prematurely abort,
possibly because Netscape closes the connection. You can see that there
are 594 messages in the queue, but after 'RETR 3' there is a reset and a
stop.


There are messages, but Netscape isn't asking for them.  The "reset()"
message is just a debugging notice in James that it is resetting the
watchdog timer for that connection.



What I don't understand is why Netscape was able to pop the same
messages from my ISP successfully, but gets stuck popping from James.


Well, the fact that DELE x works multiple times in a row is bothersome.



I'm using James 2.1.2. It may be worth noting that I'm using the
filesystem to store messages not the database.


I did my test with James v2.2.0a8 using JDBC, but the file system shouldn't
be the issue.  The DELETE operation is handled internally.  I just checked
the diff between the code I'm running, and v2.1.2, and I don't see anything
that would make a difference.

http://cvs.apache.org/viewcvs/james-server/src/java/org/apache/james/pop3se


r


ver/POP3Handler.java.diff?r1=1.18.4.3&r2=1.18&diff_format=h&only_with_tag=b


r


anch_2_1_fcs

Can you run the same telnet test I did and check the results?

--- Noel







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to