Ok, here is a patch which fixes this specific (IPv6) problem until
someone has time to make SA completely v6 aware:
--- Mail/SpamAssassin/Message/Metadata/Received.pm.orig 2008-02-26
17:28:28.000000000 +0100
+++ Mail/SpamAssassin/Message/Metadata/Received.pm 2008-02-26
17:28:52.000000000 +0100
@@ -1208,7 +1208,8 @@
$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
+# return 0; # ignore IPv6 handovers
+ $ip="0.0.0.0";
}
I'd suggest submitting this on the SA Bugzilla. It will get lost here on
the user's list.
I htink I'd submit a *second* bug about how any failed received line parse
causes all other headers to be trusted. That certainly wasn't how it worked
at at least one point in the past.
Loren