[ http://issues.apache.org/jira/browse/JAMES-152?page=all ]
     
Stefano Bagnara closed JAMES-152:
---------------------------------

    Resolution: Fixed

> When a Received header is invalid mail may be created with a null remote 
> address and host name
> ----------------------------------------------------------------------------------------------
>
>          Key: JAMES-152
>          URL: http://issues.apache.org/jira/browse/JAMES-152
>      Project: James
>         Type: Bug
>   Components: FetchMail
>     Versions: 3.0, 2.2.0
>     Reporter: Steve Brewin
>     Assignee: Steve Brewin
>     Priority: Minor
>      Fix For: 2.2.1, 2.2.0

>
> 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

-- 
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]

Reply via email to