On Sat, Feb 21, 2009 at 7:11 PM, Greg Troxel <g...@ir.bbn.com> wrote:
> This is a funny case, since the message in question is generated by a
> machine that I would set as TRUSTED.  I am the moderator for
> regional-bos...@netbsd.org, and it gets spam, stunningly enough.  The
> mail is sent to me over IPv6, and SA appears not to parse postfix's IPv6
> received lines.  Is anyone else seeing this problem, and is it specific
> to postfix?  Any hints for where in the sources to read to fix?

At the last check, SA doesn't have a lot of support for IPv6 yet.  For
example, here's some code from the Received header parser in 3.2.x:

  $ip = Mail::SpamAssassin::Util::extract_ipv4_addr_from_string ($ip);
  if (!$ip) {
    dbg("received-header: could not parse IPv4 address, assuming IPv6");
    return 0;   # ignore IPv6 handovers
  }

Taking a quick look at the 3.3 code, it seems the code now handles
IPv6, but I'm not sure if it's complete support or if partial, how
much, etc.

The code is all in .../lib/Mail/SpamAssassin/Message/Metadata/Received.pm

Reply via email to