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
