Issue Details (XML | Word | Printable)

Key: JAMES-152
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Steve Brewin
Reporter: Steve Brewin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JAMES Server

When a Received header is invalid mail may be created with a null remote address and host name

Created: 14/Feb/04 08:25 PM   Updated: 10/Aug/05 12:53 AM  Due: 16/Feb/04
Return to search
Component/s: FetchMail
Affects Version/s: 2.2.0, 3.0
Fix Version/s: 2.2.0, 2.3.0

Time Tracking:
Not Specified

Resolution Date: 10/Aug/05 12:53 AM


 Description  « Hide
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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Stefano Bagnara added a comment - 10/Aug/05 12:51 AM
opened to change the fix version

Stefano Bagnara added a comment - 10/Aug/05 12:53 AM
changed the fix version