in that case check that all of the hosts/IP addresses mentioned can be
resolved, looks like "localhost" may be a red herring. Let us know what you
find. It seems wrong that fetch should bomb on what appears to be a "well
formed" message.


d.





|---------+---------------------------->
|         |           "Hans Liebenberg"|
|         |           <[EMAIL PROTECTED]|
|         |           om>              |
|         |                            |
|         |           06/12/2005 09:27 |
|         |           AM               |
|         |           Please respond to|
|         |           "James Users     |
|         |           List"            |
|---------+---------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                  |
  |       To:       "'James Users List'" <[email protected]>         
                                                  |
  |       cc:                                                                   
                                                  |
  |       Subject:  RE: Fetchmail [Received: Header]                            
                                                  |
  
>-------------------------------------------------------------------------------------------------------------------------------|




HI,

Yeah it is in /etc/hosts, and I also noticed that there is no localhost
mentioned anywhere, hence the confusion. But I will continue debugging...



-----Original Message-----
From: Danny Angus [mailto:[EMAIL PROTECTED]
Sent: 06 December 2005 11:12 AM
To: James Users List
Subject: Re: Fetchmail [Received: Header]


you may need to check if "localhost" is defined in your etc/hosts However I
note, purely out of curiosity, that the mail you append doesn't actually
have "localhost" in the Received headers... might it be choking on
something
else?

d.

---
Danny Angus
Lead Technical Consultant
ICT Products Development
4W
3257



|---------+---------------------------->
|         |           "Hans Liebenberg"|
|         |           <[EMAIL PROTECTED]|
|         |           om>              |
|         |                            |
|         |           05/12/2005 08:43 |
|         |           AM               |
|         |           Please respond to|
|         |           "James Users     |
|         |           List"            |
|---------+---------------------------->

>---------------------------------------------------------------------------

----------------------------------------------------|
  |
|
  |       To:       "'James Users List'" <[email protected]>
|
  |       cc:
|
  |       Subject:  Fetchmail [Received: Header]
|

>---------------------------------------------------------------------------

----------------------------------------------------|




Hi,

My fetchmail process if failing due to Received header being
invalid...apparently. The MessageProcessor fails on the line
org.apache.james.dnsserver.DNSServer.getByName(address).getHostAddress()
Where address = 'localhost'


05/12/05 10:41:45 DEBUG fetchmail.mailstreams_postmaster: UNDELIVERABLE
Message ID: <[EMAIL PROTECTED]>
java.net.UnknownHostException: unknown host
        at org.xbill.DNS.Address.lookupHostName(Address.java:106)
        at org.xbill.DNS.Address.getByName(Address.java:124)
        at
org.apache.james.dnsserver.DNSServer.getByName(DNSServer.java:463)
        at
org.apache.james.fetchmail.MessageProcessor.computeRemoteAddress(Unknown
Source)
        at
org.apache.james.fetchmail.MessageProcessor.updateRemoteAddress(Unknown
Source)
        at
org.apache.james.fetchmail.MessageProcessor.getRemoteAddress(Unknown
Source)
        at org.apache.james.fetchmail.MessageProcessor.createMail(Unknown
Source)
        at org.apache.james.fetchmail.MessageProcessor.process(Unknown
Source)
        at org.apache.james.fetchmail.FolderProcessor.process(Unknown
Source)
        at org.apache.james.fetchmail.StoreProcessor.process(Unknown
Source)'





The headers of the message that it is trying to fetch is as follows:

Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from crash (crash [192.168.0.224])
        by broadway.cambrient.com (Postfix) with SMTP id 8017F6D607
        for <[EMAIL PROTECTED]>; Mon,  5 Dec 2005 08:49:48 +0200
(SAST)
Received: from 192.168.0.224 ([192.168.0.224])
          by crash (JAMES SMTP Server 2.2.0) with SMTP ID 818
          for <[EMAIL PROTECTED]>;
          Mon, 5 Dec 2005 08:32:15 +0200 (SAST)
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 5 Dec 2005 08:31:44 +0200 (SAST)
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: POSTMASTER VERIFICATION:1010131
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Any ideas?
Thanks!

Hans


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




***************************************************************************
The information in this e-mail is confidential and for use by the
addressee(s) only. If you are not the intended recipient (or responsible
for
delivery of the message to the intended recipient) please notify us
immediately on 0141 306 2050 and delete the message from your computer. You
may not copy or forward it or use or disclose its contents to any other
person. As Internet communications are capable of data corruption Student
Loans Company Limited does not accept any  responsibility for changes made
to this message after it was sent. For this reason it may be inappropriate
to rely on advice or opinions contained in an e-mail without obtaining
written confirmation of it. Neither Student Loans Company Limited or the
sender accepts any liability or responsibility for viruses as it is your
responsibility to scan attachments (if any). Opinions and views expressed
in
this e-mail are those of the sender and may not reflect the opinions and
views of The Student Loans Company Limit  ed.

This footnote also confirms that this email message has been swept for the
presence of computer viruses.

**************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




***************************************************************************
The information in this e-mail is confidential and for use by the addressee(s) 
only. If you are not the intended recipient (or responsible for delivery of the 
message to the intended recipient) please notify us immediately on 0141 306 
2050 and delete the message from your computer. You may not copy or forward it 
or use or disclose its contents to any other person. As Internet communications 
are capable of data corruption Student Loans Company Limited does not accept 
any  responsibility for changes made to this message after it was sent. For 
this reason it may be inappropriate to rely on advice or opinions contained in 
an e-mail without obtaining written confirmation of it. Neither Student Loans 
Company Limited or the sender accepts any liability or responsibility for 
viruses as it is your responsibility to scan attachments (if any). Opinions and 
views expressed in this e-mail are those of the sender and may not reflect the 
opinions and views of The Student Loans Company Limit
 ed.

This footnote also confirms that this email message has been swept for the 
presence of computer viruses.

**************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to