https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6878

            Bug ID: 6878
           Summary: Problems with sa-update under Solaris 11
           Product: Spamassassin
           Version: 3.3.2
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: minor
          Priority: P2
         Component: sa-update
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

For the initial update after installation I got:
# /opt/spamassassin/bin/sa-update -D
...
Dec 13 11:15:46.927 [11340] dbg: dns: Net::DNS version: 0.70
...
Dec 13 11:14:22.410 [11338] dbg: channel: no MIRRORED.BY file available
Dec 13 11:14:22.418 [11338] dbg: http: GET request, 3.3
Dec 13 11:14:22.418 [11338] dbg: http: GET 3.3 request failed, retrying: 400
URL must be absolute: 400 URL must be absolute 
...

The problem seems to be that the name reported from Net::DNS has no "" around.
My workaround is:

--- /opt/spamassassin/bin/sa-update     Thu Dec 13 10:22:20 2012
+++ /opt/spamassassin/bin/sa-update_new Thu Dec 13 10:21:37 2012
@@ -1139,7 +1139,7 @@
     foreach my $rr ($RR->answer) {
       my $text = $rr->rdatastr;
       local($1);
-      $text =~ /^"(.*)"$/;
+      $text =~ /^["]{0,1}(.*)["]{0,1}$/;
       push @result, $1;
     }
   }

If you feel this is the right decision I would be glad to find it in the next
version of spamassassin.

Thank you for your great work on spamassassin!
   Lars

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to