Message:
The following issue has been resolved as FIXED.
Resolver: Steve Brewin
Date: Sat, 17 Jul 2004 1:07 PM
JAMES-300: Fixed missing assignment of headers value.
JAMES-302: Replaced use of the literal 'localhost' with the canonical name of the
local machine and if this cannot be deduced, with the loopback address 127.0.0.1.
Also fixed up linefeeds in the source. Should now all be Unix format.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JAMES-300
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JAMES-300
Summary: Fetchmail can't fetch mails
Type: Bug
Status: Resolved
Priority: Major
Resolution: FIXED
Project: James
Components:
FetchMail
Fix Fors:
2.2.1
Versions:
2.2.1
Assignee: Steve Brewin
Reporter: Steen Jansdal
Created: Thu, 24 Jun 2004 6:16 AM
Updated: Sat, 17 Jul 2004 1:07 PM
Description:
While trying to implement the new James 2.2.0
I discovering a bug in the MessageProcessor.java
causing it not to fetch mails.
Here is the patch
---
c:\james-2.2.0-src-original\src\java\org\apache\james\fetchmail\MessageProcessor.java
2004-05-01 23:47:22.000000000 +0200
+++ c:\james-2.2.0-src\src\java\org\apache\james\fetchmail\MessageProcessor.java
2004-06-24 13:33:28.578125000 +0200
@@ -683,11 +683,11 @@
protected String computeRemoteDomain() throws MessagingException
{
StringBuffer domainBuffer = new StringBuffer();
String[] headers = null;
if (getRemoteReceivedHeaderIndex() > -1)
- getMessageIn().getHeader(RFC2822Headers.RECEIVED);
+ headers = getMessageIn().getHeader(RFC2822Headers.RECEIVED);
if (null != headers)
{
// If there are RECEIVED headers and the index to begin at is greater
// than -1, try and extract the domain
---------------------------------------------------------------------
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]