James Server
  1. James Server
  2. JAMES-787

Unable to resolv 127.0.0.1/localhost [was: Fetchmail not use 127.0.0.1 as RemoteAddress when using index=-1]

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.0, 2.3.0
    • Fix Version/s: 2.3.2
    • Component/s: FetchMail
    • Labels:
      None

      Description

      From ml:

      We tried to fetch emails via POP3 from a Exchange 2003 server which
      are sent from one local exchange account to an other local exchange
      account. Fetchmail stopped parsing the message because the ip is missing
      in the received header of the emails. Even if i use -1 as index the same
      happen. That seems to be a bug for me .. Should it not just use
      "127.0.0.1" and not try to parse it ? After adding a workarround which
      catch the UnknownHostexception and add "127.0.0.1" this is solved.

        Activity

        Hide
        Norman Maurer added a comment -

        Reverted the patch.. Discussion in progress

        Show
        Norman Maurer added a comment - Reverted the patch.. Discussion in progress
        Hide
        Norman Maurer added a comment -

        Invalid /etc/hosts file.

        Show
        Norman Maurer added a comment - Invalid /etc/hosts file.
        Hide
        Norman Maurer added a comment -

        Its seems to this is not invalid! The problem is that we fallback to 127.0.0.1/localhost and try to get sure we can resolv it. This is not possible with dnsjava. Maybe whould should add a config option to our dnsserver to specify a "hosts" file to parse and use . Any thoughts ?

        Show
        Norman Maurer added a comment - Its seems to this is not invalid! The problem is that we fallback to 127.0.0.1/localhost and try to get sure we can resolv it. This is not possible with dnsjava. Maybe whould should add a config option to our dnsserver to specify a "hosts" file to parse and use . Any thoughts ?
        Hide
        Norman Maurer added a comment -

        This is the diff for backporting to 2.3 branch . Any thoughts ?

        Show
        Norman Maurer added a comment - This is the diff for backporting to 2.3 branch . Any thoughts ?
        Hide
        Norman Maurer added a comment -

        I think this will not get fixed in 2.3.x ..

        Show
        Norman Maurer added a comment - I think this will not get fixed in 2.3.x ..

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Norman Maurer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development