Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-300

Fetchmail can't fetch mails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.0
    • FetchMail
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: