You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Stefano Bagnara (JIRA)" <se...@james.apache.org> on 2005/08/09 17:52:37 UTC

[jira] Reopened: (JAMES-152) When a Received header is invalid mail may be created with a null remote address and host name

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


opened to change the fix version

> 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: 3.0, 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org