Java POP3 Server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have written a POP server in Java, and when I connect to it with Windows Server 2000, everything is great. When I use XP, the command "RETR 1" causes it to just print one line and then unexpectedly terminate the connection. Is there some configuration that I need to change to keep Windows XP from dropping the connection

Thanks
 
ACR said:
I have written a POP server in Java, and when I connect to it with Windows
Server 2000, everything is great. When I use XP, the command "RETR 1"
causes it to just print one line and then unexpectedly terminate the
connection. Is there some configuration that I need to change to keep
Windows XP from dropping the connection?


XP is an operating system, not a mail client.
XP doesn't connect to POP3 servers.

There are several mail clients which run _on_ XP which
connect to POP3 servers, like Outlook Express 6.

Which mail client are you using?

You'd need to capture the traffic and see what the problem is.

Also, turn on logging on the client app, and impliment some form
of logging in your app to determine what's happening.
 
ACR said:
It doesn't work with any mail client running on Windows XP (or 98). Here
is what happens when I try to telnet into it:
c:/>

S: +OK ACR POP Server ready
C: USER nobody
S: +OK
C: PASS *****
S: +OK
C: LIST
S: +OK 1 3
C: RETR 1
S: +OK 3 octets

Connection to host lost.

c:\>

After that, when the Java server tries to read in a line from the socket,
it gets null. If I telnet into it with Windows 2000 Server and run the same
commands, it prints out the message and lets me enter more commands.



It's not an XP problem as such.

I can connect to POP3 servers using any mail client I want.
Or using telnet as you tried.

You need to impliment logging on your app to see what's going on.
Also, try sniffing the wire using Ethereal or similar, to determine what's
actually going on.
Otherwise you are just guessing.

But given that all other POP3 servers work, I'd have to say it's
something in your app that's dropping the connection...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top