Re: James hates mozilla? (or it just loves file handles to go withits lizards)
There was a bug in pop3 of James (it is already fixed in CVS), which may couse the problem. Since you like patches, you may try to modify it by hand: In the source file src/java/org/apache/james/core/MimeMessageSource.java in the method getMessageSize() the InputStream in must be closed. Bye, Stephan Schiessling Andrew C. Oliver wrote: I recently installed JAMES (2.0.a3 and added the recent patches to enable SMTP authentication with Mozilla). However, after getting a couple days worth of mail. James has decided to end its relationship with my mozilla 1.0 pop client. It claims that it will simply require more file handles. Well I've increased them by x5 and it still wants more. It does look like mail2web.com is able to communicate, and I can telnet to the server on port 110 and do it by hand (albeit its not very convienient) and its happy but boy it sure hates the lizard. Anyone have any ideas? Any patches to fix this? Mozilla works with all my other email accounts. -Andy -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Odd behavior
This issue is solved and cvs contains already the changes. In src/java/org/apache/james/pop3server/POP3Handler.java and src/java/org/apache/james/util/ExtraDotOutputStream.java Bye, Stephan Kevin Kovach wrote: Has this been addressed yet? Is this a JAMES problem? I had this happen again and have switched back to an older version of JAMES. I'd like to be able to use the latest version of JAMES but don't want to have to remove email by hand each time this happens. Thanks. - Kevin Stephan Schiessling wrote: Now I also think, that there is a bug in James pop3 server :-( I compared James behaviour with that of sendmail and another pop3 server. James and Sendmail add an extra dot at beginning of a text line, if the text line starts with a dot. (Internally both do not store the extra dot.) James pop3 server does not add an extra dot, but the other pop3 server does add an extra dot !!! I cannot find a hint about this in pop3 rfc 1939 ??? Bye, Stephan Jeff Keyser wrote: Actually, I don't believe this is entirely true. I believe that the sender of a message should turn a line with a single dot into a line with two dots (or some other transformation to prevent a single dot line), and the receiver should reverse this to get the dot back. It's been a long time since I've looked at the SMTP/POP3 protocols, so please forgive me if I got the exact method wrong. In any case, this may still be a James bug. If the real message contains a single line with a dot in its body, and James doesn't transform it while handing it off to a POP3 client, this could cause the problem that Stephan saw. -Original Message- From: Danny Angus [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 5:04 AM To: James Users List Subject: RE: Odd behavior this is dot stuffing, its the way that MTA's detect the end of a message body, single dot on a line by itself. If you want to send a dot to a friend (!) you should encode your mails using UUENCODE Base64 MIME or something like that. This is a fact of life. d. -Original Message- From: Stephan Schiessling [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 11:55 AM To: James Users List Subject: Re: Odd behavior Now I can reproduce this error: If I send an email with a message body, which contains a single dot in a line, Mozilla 0.9.8 cannot read this message and shows the error message, that it cannot write into a mailbox. I think Mozilla thinks, that the message is ended here . James has no problem to handle this email, so it is not James's fault :-) I will add this bug in bugzilla. Bye, Stephan Danny Angus wrote: Oh My! sorry guys.. that bit of help backfired then. d. -Original Message- From: Stephan Schiessling [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 11:11 AM To: James Users List Subject: Re: Odd behavior I got the same problem. I think email of Danny Angus with subject: Re: telnet login is the source of the problem. In this email there are some SMTP commands. I think Mozilla has a problem with it. I removed this email by hand and restarted james. Then Mozilla worked again. I could not reproduce this error, so I do not know Bye, Stephan Kevin Kovach wrote: Hello. I've installed the newest release of James and I'm getting some odd behavior. I've tried reading mail using the latest version of Mozilla (0.9.8) on both Windows and Linux and have had the same problem. The mail client seems tolog in and start to download the mial/headers, then says that it's not able to write to the local file system. I get a dialog box asking to check either disk space or permission. I have both, I assure you. Has anyone else experienced this? I started up James 1.2.1 and am able to recieve mail. This tells me I hav both space and permission on the disk. Thanks - Kevin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Can't retrieve pop3 mail
If you can access port 110 locally but not remotely, this could be a firewall issue. Check if for port 110/tcp, remote access is blocked in firewall. Bye, Stephan Schiessling Phase Communcations wrote: I have set up james. The smtp, and administrative functions are all working. I am unable, however, to retrieve mail from my pop3 accout with Outlook. I can send mail through my JAMES to other mail servers and I can send mail to accounts on my JAMES but I can't retrieve from it. I can also telnet into port 25 and 4555 remotely. But I can't telnet into port 110 remotely. I can telnet into 110,25 and 4555 from localhost. Does anyone have any idea as to what the problem is? Brandon Goodin Phase Web and Multimedia P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Odd behavior
I got the same problem. I think email of Danny Angus with subject: Re: telnet login is the source of the problem. In this email there are some SMTP commands. I think Mozilla has a problem with it. I removed this email by hand and restarted james. Then Mozilla worked again. I could not reproduce this error, so I do not know Bye, Stephan Kevin Kovach wrote: Hello. I've installed the newest release of James and I'm getting some odd behavior. I've tried reading mail using the latest version of Mozilla (0.9.8) on both Windows and Linux and have had the same problem. The mail client seems tolog in and start to download the mial/headers, then says that it's not able to write to the local file system. I get a dialog box asking to check either disk space or permission. I have both, I assure you. Has anyone else experienced this? I started up James 1.2.1 and am able to recieve mail. This tells me I hav both space and permission on the disk. Thanks - Kevin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Odd behavior
Now I can reproduce this error: If I send an email with a message body, which contains a single dot in a line, Mozilla 0.9.8 cannot read this message and shows the error message, that it cannot write into a mailbox. I think Mozilla thinks, that the message is ended here . James has no problem to handle this email, so it is not James's fault :-) I will add this bug in bugzilla. Bye, Stephan Danny Angus wrote: Oh My! sorry guys.. that bit of help backfired then. d. -Original Message- From: Stephan Schiessling [mailto:[EMAIL PROTECTED]] Sent: Monday, February 11, 2002 11:11 AM To: James Users List Subject: Re: Odd behavior I got the same problem. I think email of Danny Angus with subject: Re: telnet login is the source of the problem. In this email there are some SMTP commands. I think Mozilla has a problem with it. I removed this email by hand and restarted james. Then Mozilla worked again. I could not reproduce this error, so I do not know Bye, Stephan Kevin Kovach wrote: Hello. I've installed the newest release of James and I'm getting some odd behavior. I've tried reading mail using the latest version of Mozilla (0.9.8) on both Windows and Linux and have had the same problem. The mail client seems tolog in and start to download the mial/headers, then says that it's not able to write to the local file system. I get a dialog box asking to check either disk space or permission. I have both, I assure you. Has anyone else experienced this? I started up James 1.2.1 and am able to recieve mail. This tells me I hav both space and permission on the disk. Thanks - Kevin -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: SMTP error
There are connection timeouts defined in the config file for the smtpserver. I think the default is 6 minutes, and if receiving an email takes more than 6 minutes a timeout occurs. Problem is known, and maybe already fixed in cvs. But you can simply increased this connection timeout for now, to solve the problem. Bye, Stephan Schiessling Shal Jain wrote: HELP James ver. 2.01 Somebody(external party) sent a 20Mb email yesterday. Since then JAMES is stuck throwing the errors listed below Even after I shutdown and restart James, this error persists Any ideas how I get around it. the var/spool , var/pending , var/outgoing folders are empty. Fri Jan 11 10:40:19 CST 2002 [INFO ] (smtpserver): SMTPServer init... Fri Jan 11 10:40:19 CST 2002 [INFO ] (smtpserver): SMTPServer ...init end Fri Jan 11 10:42:08 CST 2002 [INFO ] (smtpserver): Hello Name is: MY MAIL SERVER Fri Jan 11 10:42:08 CST 2002 [DEBUG ] (smtpserver): Max message size is: 0 Fri Jan 11 10:42:08 CST 2002 [INFO ] (smtpserver): Connection from gw.myhost.com (10.0.0.222) Fri Jan 11 10:42:08 CST 2002 [INFO ] (smtpserver): Command received: EHLO gw1.clienthost.com Fri Jan 11 10:42:08 CST 2002 [INFO ] (smtpserver): Command received: MAIL From:[EMAIL PROTECTED] Fri Jan 11 10:42:08 CST 2002 [INFO ] (smtpserver): Command received: RCPT To:[EMAIL PROTECTED] Fri Jan 11 10:42:09 CST 2002 [INFO ] (smtpserver): Command received: DATA Fri Jan 11 10:48:08 CST 2002 [ERROR ] (smtpserver): Connection timeout on socket Fri Jan 11 10:48:09 CST 2002 [DEBUG ] (smtpserver): Exception opening socket: null java.lang.reflect.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException: javax.mail.MessagingException: Exception spooling message: Exception caught while storing Message Container: java.net.SocketException: JVM_recv in socket input stream read (code=10004) at org.apache.james.James.sendMail(James.java:319) at java.lang.reflect.Method.invoke(Native Method) at org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invo ke(BlockInvocationHandler.java:88) at $Proxy9.sendMail(Unknown Source) at org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:564) at org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:243) at org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:16 0) I need to get JAMES running now. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
connectiontimeout problem
James2.0a2 denied to receive emails which take more than 6 minutes to transfer. (Depending on speed of internet connection, this may be the case for emails with size 0.5 MB). The timeout-counting starts if DATA section starts, so it is not a timeout, which starts, when socket has no data ! I think the default installation of james (means: only a few things in james/conf/config.xml are changed) should not have this hidden limitation. Therefore I suggest to set this connectiontimeout value (connectiontimeout in handler in smtpserver) to a much higher value, just for the default installation. Bye, Stephan Schiessling [EMAIL PROTECTED] NB: I already sent this message to this mailing list yesterday, and it was sent successfully. But I didn't get it back !? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RemoteDelivery Thread may hang forever
Sometimes james denies to proceed with sending email to remote mail servers. I debugged this problem. It hangs in transport.connect() in RemoteDelivery.java, so it hangs inside JavaMail. The reason is, that the Socket has no timeout set. Fortunately, JavaMail allows us to set such timeout, and therefore a fix in james is possible in the following way: If Session is created, a property mail.smtp.timeout should be set. (If SMTP is used). In RemoteDelivery.java, run() method, public void run() { //Checks the pool and delivers a mail message Properties props = new Properties(); String timeout = getInitParameter(timeout); log(timeout=+timeout); if (timeout == null) timeout = 60; props.put(mail.smtp.timeout, timeout); Session session = Session.getInstance(props, null); ... Then RemoteDelivery has a new parameter to set the timeout. Example: mailet match=All class=RemoteDelivery outgoing file://../var/mail/outgoing/ /outgoing delayTime 6 /delayTime maxRetries 288 /maxRetries timeout 30 /timeout /mailet This could be improved to support more protocols, but for that it is preferable to improve the API to get parameters. Bye, Stephan Schiessling [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]