james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Keyser (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-344) FetchMail cannot parse particular format of "Received" header
Date Tue, 04 Jan 2005 13:11:13 GMT
     [ http://issues.apache.org/jira/browse/JAMES-344?page=comments#action_57259 ]
Jeff Keyser commented on JAMES-344:

I guess I gave too much background information and ended up confusing the issue.  I'll try
to be a little more clear.

First, the issue as I see it is that the parser is not finding the actual IP address in the
header because it isn't surrounded by square brackets.  If it would find this address, the
invalid host name "unknown" would be moot.

Second, what I was saying was that the e-mail I receive contains two different "Received"
headers that use the format I described, inserted by two different e-mail servers from two
different organizations.  My point wasn't that it's valid, but that it's commonly used and
may cause the same problem for other users.

I apologize for being unclear in my first posting.

> FetchMail cannot parse particular format of "Received" header
> -------------------------------------------------------------
>          Key: JAMES-344
>          URL: http://issues.apache.org/jira/browse/JAMES-344
>      Project: James
>         Type: Bug
>   Components: FetchMail
>     Versions: 2.2.1
>     Reporter: Jeff Keyser
>     Priority: Minor

> The mail server I am pulling e-mail from inserts a "Received" header that looks like
the following:
> Received: from unknown (HELO host.domain.tld) ( by ...
> BTW - The name "unknown" is always used.  I assume they are purposely saving processing
power by not reverse-looking up the host name.
> I have debugged this problem in the code, and it appears that because the IP address
is not surrounded by square brackets, computeRemoteAddress is unable to find the IP address.
 So the name "unknown" is always used to determine the address instead, which fails.
> FYI - The e-mail I am pulling actually passes through two e-mail servers by different
organizations, and they both use this format.  So I assume this format is common.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message