The following issue has been updated:

    Updater: Steve Brewin (mailto:[EMAIL PROTECTED])
       Date: Sun, 15 Feb 2004 6:38 AM
    Changes:
             Version changed from 2.2.0a15
             Version changed to 2.2.0a16
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=JAMES-152&page=history

---------------------------------------------------------------------
View the issue:
  http://nagoya.apache.org/jira/secure/ViewIssue.jspa?key=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: In Progress
   Priority: Minor

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

   Assignee: Steve Brewin
   Reporter: Steve Brewin

    Created: Sat, 14 Feb 2004 12:25 PM
    Updated: Sun, 15 Feb 2004 6:38 AM
    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://nagoya.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