[jira] Commented: (JAMES-580) NPE is issued when receiving a read receipt from MS Outlook, and checkValidSenderDomain is set to true

2006-07-27 Thread Vincenzo Gianferrari Pini (JIRA)
[ 
http://issues.apache.org/jira/browse/JAMES-580?page=comments#action_12423864 ] 

Vincenzo Gianferrari Pini commented on JAMES-580:
-

I don't know if this error was also in 2.2. In such case IMO we should consider 
it a blocker :-( , because after an upgrade from 2.2.0 to 2.3.0 the systems 
having  checkValidSenderDomain set to true would lose messages.

 NPE is issued when receiving a read receipt from MS Outlook, and 
 checkValidSenderDomain is set to true
 --

 Key: JAMES-580
 URL: http://issues.apache.org/jira/browse/JAMES-580
 Project: James
  Issue Type: Bug
  Components: SMTPServer
Affects Versions: 2.3.0rc1
Reporter: Vincenzo Gianferrari Pini

 A NPE is issued when receiving a read receipt from MS Outlook (not Outlook 
 express nor Thunderbird), and checkValidSenderDomain is set to true and  
 the sender IP address is not in authorizedAddresses:
 27/07/06 17:17:00 ERROR smtpserver: Exception opening socket: null
 java.lang.NullPointerException
   at 
 org.apache.james.smtpserver.MailCmdHandler.doMAIL(MailCmdHandler.java:210)
   at 
 org.apache.james.smtpserver.MailCmdHandler.onCommand(MailCmdHandler.java:83)
   at 
 org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:391)
   at 
 org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:422)
   at 
 org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
   at 
 org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



Re: [jira] Commented: (JAMES-580) NPE is issued when receiving a read receipt from MS Outlook, and checkValidSenderDomain is set to true

2006-07-27 Thread Norman Maurer
I found the bug.. I will commit the fix + junit test as fast as i can.

bye
Norman

Am Donnerstag, den 27.07.2006, 08:37 -0700 schrieb Vincenzo Gianferrari
Pini (JIRA):
 [ 
 http://issues.apache.org/jira/browse/JAMES-580?page=comments#action_12423864 
 ] 
 
 Vincenzo Gianferrari Pini commented on JAMES-580:
 -
 
 I don't know if this error was also in 2.2. In such case IMO we should 
 consider it a blocker :-( , because after an upgrade from 2.2.0 to 2.3.0 the 
 systems having  checkValidSenderDomain set to true would lose messages.
 
  NPE is issued when receiving a read receipt from MS Outlook, and 
  checkValidSenderDomain is set to true
  --
 
  Key: JAMES-580
  URL: http://issues.apache.org/jira/browse/JAMES-580
  Project: James
   Issue Type: Bug
   Components: SMTPServer
 Affects Versions: 2.3.0rc1
 Reporter: Vincenzo Gianferrari Pini
 
  A NPE is issued when receiving a read receipt from MS Outlook (not 
  Outlook express nor Thunderbird), and checkValidSenderDomain is set to 
  true and  the sender IP address is not in authorizedAddresses:
  27/07/06 17:17:00 ERROR smtpserver: Exception opening socket: null
  java.lang.NullPointerException
  at 
  org.apache.james.smtpserver.MailCmdHandler.doMAIL(MailCmdHandler.java:210)
  at 
  org.apache.james.smtpserver.MailCmdHandler.onCommand(MailCmdHandler.java:83)
  at 
  org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:391)
  at 
  org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:422)
  at 
  org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:55)
  at 
  org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:116)
 


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: [jira] Commented: (JAMES-580) NPE is issued when receiving a read receipt from MS Outlook, and checkValidSenderDomain is set to true

2006-07-27 Thread Stefano Bagnara

Vincenzo Gianferrari Pini (JIRA) wrote:
[ http://issues.apache.org/jira/browse/JAMES-580?page=comments#action_12423864 ] 

Vincenzo Gianferrari Pini commented on JAMES-580:

-

I don't know if this error was also in 2.2. In such case IMO we should consider it a 
blocker :-( , because after an upgrade from 2.2.0 to 2.3.0 the systems having  
checkValidSenderDomain set to true would lose messages.


IIRC our default configuration does not have this checkValidSenderDomain 
set to true, btw I think we should fix this anyway for 2.3.0 because it 
is a small fix and it otherwise loose the mail.


If I understood the problem then we are also loosing all DSN messages 
(bounces) if that option is activated because they have to be sent with 
empty sender.


I would prefer to wait something more before trying to release RC2. This 
issue is limited to an experimental (disabled by default) and the fix 
have not to be tested so much (it is a clean/obvious fix) so we can wait 
something more for other bugreports against RC1 and try releasing RC2 later.


Stefano


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



Re: [jira] Commented: (JAMES-580) NPE is issued when receiving a read receipt from MS Outlook, and checkValidSenderDomain is set to true

2006-07-27 Thread Norman Maurer
You are right its a small fix.. BTW, its tested.. before the  junit test
throws a Nullpointer. After the fix  the test pass..

But i agree not enough for a rc2.

So please test.

bye
Norman

Am Donnerstag, den 27.07.2006, 19:13 +0200 schrieb Stefano Bagnara:
 Vincenzo Gianferrari Pini (JIRA) wrote:
  [ 
  http://issues.apache.org/jira/browse/JAMES-580?page=comments#action_12423864
   ] 
  
  Vincenzo Gianferrari Pini commented on JAMES-580:
  -
  
  I don't know if this error was also in 2.2. In such case IMO we should 
  consider it a blocker :-( , because after an upgrade from 2.2.0 to 2.3.0 
  the systems having  checkValidSenderDomain set to true would lose 
  messages.
 
 IIRC our default configuration does not have this checkValidSenderDomain 
 set to true, btw I think we should fix this anyway for 2.3.0 because it 
 is a small fix and it otherwise loose the mail.
 
 If I understood the problem then we are also loosing all DSN messages 
 (bounces) if that option is activated because they have to be sent with 
 empty sender.
 
 I would prefer to wait something more before trying to release RC2. This 
 issue is limited to an experimental (disabled by default) and the fix 
 have not to be tested so much (it is a clean/obvious fix) so we can wait 
 something more for other bugreports against RC1 and try releasing RC2 later.
 
 Stefano
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 !EXCUBATOR:1,44c8f48943381751252140!


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil