Thanks for the heads up that it might be an outlook issue Jason.
I did a bit of hunting around and found this in a forum reply
about someone having similar problems.
"The problem is that the server you're talking to violates
Internet mail standards by rejecting a blank address ("<>").
Such a sender address is *required* by Internet mail
standards when sending read-receipts. Complain to your mail
provider."
Is this true ? Is this a failure of the current james
implementation ? Is there a work around? Any information
greatly appreciated.
Cosmic
-----------------------------
Robert Peter Taylor
-----Original Message-----------------------------------------------
From: Jason Long [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>]
Sent: Friday, 6 January 2006 3:14 PM
To: 'James Users List'; [EMAIL PROTECTED]
Subject: RE: Null pointer exception processing Outlook Read Receipts
I had this problem before. I believe that it is a bug in outlook,
but this does not occur with some other mail servers. I have not
investigated fully, but SMTP authentication is a common factor in
the times this has happened to me.
Thank you for your time,
Jason Long
CEO and Chief Software Engineer
BS Physics, MS Chemical Engineering
http://www.supernovasoftware.com <http://www.supernovasoftware.com>
-----Original Message-----------------------------------------------
From: RPT [mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>]
Sent: Thursday, January 05, 2006 7:15 PM
To: [email protected]
Subject: Null pointer exception processing Outlook Read Receipts
Hi,
wondering if someone can shed some light on this. Ive
been running james for a while now, and everythings been fine.
But I've now noted that when Microsoft Outlook generates a
requested 'read receipt' it causes a null pointer exception in
james, and as this reciept is never successfully processed by
james the clients outlook program continually then reports an
error sending. Anyone come across this before, have a simple fix.
My james installation is very plain vanilla. I have included
the smtp log below (for privacy ive blanked out the addresses in
the log using <address hidden>).
Any assistance greatly appreciated
Cosmic
-------------------
Robert Peter Taylor
DEBUG smtpserver: Retrieving a org.apache.james.smtpserver.SMTPHandler from
the pool
DEBUG smtpserver: Getting SMTPHandler from pool.
INFO smtpserver: Connection from 192.168.1.1 (192.168.1.1)
DEBUG smtpserver: Sent: 220 <address hidden> SMTP Server (JAMES SMTP Server
2.2.0) ready Fri, 6 Jan 2006 10:56:57 +1000 (GMT+10:00)
DEBUG smtpserver: Calling start()
DEBUG smtpserver: Watchdog default Worker #11 has time to sleep 990000
DEBUG smtpserver: Command received: EHLO cosmicsbox
DEBUG smtpserver: Sent: 250-SIZE 41943040
DEBUG smtpserver: Sent: 250-<address hidden> Hello cosmicsbox (192.168.1.1
[192.168.1.1])
DEBUG smtpserver: Sent: 250-AUTH LOGIN PLAIN
DEBUG smtpserver: Sent: 250 AUTH=LOGIN PLAIN
DEBUG smtpserver: Calling reset() default Worker #11
DEBUG smtpserver: Command received: AUTH LOGIN
DEBUG smtpserver: Sent: 334 VXNlcm5hbWU6
DEBUG smtpserver: Sent: 334 UGFzc3dvcmQ6
DEBUG smtpserver: AUTH method LOGIN succeeded
DEBUG smtpserver: Sent: 235 Authentication Successful
DEBUG smtpserver: Calling reset() default Worker #11
DEBUG smtpserver: Command received: MAIL FROM: <>
DEBUG smtpserver: Sent: 250 Sender <> OK
DEBUG smtpserver: Calling reset() default Worker #11
DEBUG smtpserver: Command received: RCPT TO: <test@<address hidden>>
ERROR smtpserver: Exception opening socket: null
java.lang.NullPointerException
at org.apache.james.smtpserver.SMTPHandler.doRCPT(SMTPHandler.java:1176)
at org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:583
)
at org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java
:358)
at org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.
run(ServerConnection.java:417)
at org.apache.james.util.thread.ExecutableRunnable.execute(ExecutableRunnabl
e.java:55)
at org.apache.james.util.thread.WorkerThread.run(WorkerThread.java:90)
DEBUG smtpserver: Calling disposeWatchdog() default Worker #11
DEBUG smtpserver: Returning SMTPHandler to pool.
DEBUG smtpserver: Returning a org.apache.james.smtpserver.SMTPHandler to the
pool
DEBUG smtpserver: Watchdog default Worker #11 is exiting run().
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.14/222 - Release Date: 05-01-2006
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]