You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Joe Schaefer <jo...@sunstarsys.com> on 2006/09/12 20:17:16 UTC

Ecelerity headers

Hi,

Could someone add the following code to the the parse_received_headers
sub in the Mail::SpamAssassin::Message::Metadata::Received module?

    if (/ecelerity /) {
        if (/^from \(\[(${IP_ADDRESS}):\d+\] helo=(\S+)\) by (\S+)/) {
            $ip = $1; $helo = $2; $by = $3;
            / id (\S+)/ and $id = $1;
            goto enough;
        }
    }

The code tries to parse the ecelerity Received: headers, which
apparently to exotic to be parsed using the default rules. When
added at line 419, it seems to fix the ALL_TRUSTED misfires for 
the ASF's frontline MX.

Thanks!

-- 
Joe Schaefer


Re: Ecelerity headers

Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Sep 12, 2006 at 02:17:16PM -0400, Joe Schaefer wrote:
> Could someone add the following code to the the parse_received_headers
> sub in the Mail::SpamAssassin::Message::Metadata::Received module?

Created as bug 5098:
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5098

:)

-- 
Randomly Generated Tagline:
1960 + (RND  * 40) = THE Year of UNIX