Am Mittwoch, den 10.05.2006, 16:38 +0200 schrieb Grégory Chazalon: > Hi, > > I have set up a James instance from the source code in the main trunk > (Subversion repository). > I'm able to send email by SMTP, but I cannot retrieve them using the POP3 > protocol. > I get an error when trying to synchronize my Outlook Express, and the problem > seems to be the 'STAT' command that follows user authentication. It is simply > unknown by James (actually in the runtime configuration, since the class > STATCommandHandler is there in the jars). > > Here is the log I got from the POP3Server : > > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.QuitCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.TopCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.UserCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.ListCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.UidlCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.PassCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.DeleCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.RetrCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.NoopCmdHandler > 10/05/06 15:56:05 INFO pop3server: Added Commandhandler: > org.apache.james.pop3server.RsetCmdHandler > 10/05/06 15:56:05 DEBUG pop3server: POP3 Service init... > 10/05/06 15:56:05 DEBUG pop3server: POP3 Service ...init end > 10/05/06 15:56:05 INFO pop3server: POP3 Service started plain:110 > 10/05/06 15:56:05 DEBUG pop3server: Using a bounded pool for POP3 Service > handlers with upper limit 30 > 10/05/06 15:57:18 DEBUG pop3server: Retrieving a > org.apache.james.pop3server.POP3Handler from the pool > 10/05/06 15:57:18 DEBUG pop3server: Getting Handler from pool. > 10/05/06 15:57:18 INFO pop3server: Connection from localhost (127.0.0.1) > 10/05/06 15:57:21 DEBUG pop3server: Sent: +OK adv-gchazalon POP3 server > (JAMES POP3 Server 2.3-dev) ready > 10/05/06 15:57:21 DEBUG pop3server: Calling start() > 10/05/06 15:57:21 DEBUG pop3server: Command received: USER jack > 10/05/06 15:57:21 DEBUG pop3server: Lookup command handler for command: USER > 10/05/06 15:57:21 DEBUG pop3server: Sent: +OK > 10/05/06 15:57:21 DEBUG pop3server: Calling reset() for inactive watchdog > 10/05/06 15:57:21 DEBUG pop3server: Command received: PASS <password omitted> > 10/05/06 15:57:21 DEBUG pop3server: Lookup command handler for command: PASS > 10/05/06 15:57:21 DEBUG pop3server: Watchdog default Worker #6 has time to > sleep 120000 > 10/05/06 15:57:21 DEBUG pop3server: Sent: +OK Welcome jack > 10/05/06 15:57:22 DEBUG pop3server: Calling reset() default Worker #6 > 10/05/06 15:57:22 DEBUG pop3server: Command received: STAT > 10/05/06 15:57:22 DEBUG pop3server: Lookup command handler for command: STAT > 10/05/06 15:57:22 DEBUG pop3server: Sent: -ERR > 10/05/06 15:57:22 DEBUG pop3server: Calling reset() default Worker #6 > 10/05/06 15:57:22 DEBUG pop3server: Calling stop() default Worker #6 > 10/05/06 15:57:22 INFO pop3server: Connection for jack from localhost > (127.0.0.1) closed. > 10/05/06 15:57:22 DEBUG pop3server: Closing socket. > 10/05/06 15:57:22 DEBUG pop3server: Calling disposeWatchdog() default Worker > #6 > 10/05/06 15:57:22 DEBUG pop3server: Returning Handler to pool. > 10/05/06 15:57:22 DEBUG pop3server: Returning a > org.apache.james.pop3server.POP3Handler to the pool > 10/05/06 15:57:22 DEBUG pop3server: Watchdog default Worker #6 is exiting > run(). > ------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > Note that the STATCommandHandler is not added to command handlers at startup, > which might be the cause of my problem. > > Is it normal that my configuration does not support this command ? > Does anyone have a clue ?
No it should not be normal. Plz note that the POP3Server is in refactoring process by Stefano. So maybe its not complete or it is a bug in the new code. Maybe Stefano can say more about this. bye Norman
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
