You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2012/12/13 11:19:18 UTC

[Bug 6878] New: Problems with sa-update under Solaris 11

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: dev@spamassassin.apache.org
          Reporter: L@rs.Timmann.de
    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.

[Bug 6878] Problems with sa-update under Solaris 11

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6878

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Mark Martinec <Ma...@ijs.si> ---
Duplicate of Bug 6872

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

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