Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-152

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-152
    Summary: When a Received header is invalid mail may be created with a null remote 
address and host name
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: FIXED

    Project: James
 Components: 
             FetchMail
   Fix Fors:
             2.2.0RC1
             3.0
   Versions:
             2.2.0RC1
             3.0

   Assignee: Steve Brewin
   Reporter: Steve Brewin

    Created: Sat, 14 Feb 2004 12:25 PM
    Updated: Sat, 5 Jun 2004 12:53 PM
    Due:     Mon, 16 Feb 2004 12:00 AM

Description:
When a Received header is invalid, mail may be created with a null remote address and 
host name. Some mailets and matchers will throw a NullPointerException when processing 
the injected mail!

Future modifications may unwittingly cause the same problem.

The solution is to ensure that at the point where the mail is created the mail always 
has the remote address and host name set. The default values used when a null value is 
encountered are:

address: 127.0.0.1
host name: localhost


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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

Reply via email to