Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: FetchMail
    • Labels:
      None

      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

        Attachments

        1. diff.txt
          0.8 kB
          Steen Jansdal

          Activity

            People

            • Assignee:
              sbrewin@apache.org Steve Brewin
              Reporter:
              steen Steen Jansdal
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: