[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    [jira] Created: (JAMES-300) Fetchmail can't fetch mails
From:       server-dev () james ! apache ! org
Date:       2004-06-24 13:18:08
Message-ID: 1403524837.1088083088965.JavaMail.apache () nagoya
[Download RAW message or body]

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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: Unassigned
   Priority: Major

    Project: James
 Components: 
             FetchMail
   Versions:
             2.2.1

   Assignee: 
   Reporter: Steen Jansdal

    Created: Thu, 24 Jun 2004 6:16 AM
    Updated: Thu, 24 Jun 2004 6:16 AM

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic