Bug 6878 - Problems with sa-update under Solaris 11
Summary: Problems with sa-update under Solaris 11
Status: RESOLVED DUPLICATE of bug 6872
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: sa-update (show other bugs)
Version: 3.3.2
Hardware: Sun Solaris
: P2 minor
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 10:19 UTC by Lars Timmann
Modified: 2012-12-13 14:23 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Timmann 2012-12-13 10:19:18 UTC
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
Comment 1 Mark Martinec 2012-12-13 14:23:54 UTC
Duplicate of Bug 6872

*** This bug has been marked as a duplicate of bug 6872 ***