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

           Summary: Mail::DKIM 0.34 removed DkimPolicy::as_string, which was
                    used in dbg call
           Product: Spamassassin
           Version: 3.2.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=4457)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4457)
comment out a dbg call

This is rather trivial. The Plugin::DKIM is calling a routine
Mail::DKIM::DkimPolicy::as_string within a dbg() call.
The version 0.34 of Mail::DKIM removed sub as_string,
so the following error results:

[15007] dbg: dkim: lookup failed:
  Can't locate object method "as_string" via package
  "Mail::DKIM::DkimPolicy"
  at /usr/local/lib/perl5/site_perl/5.10.0/Mail/SpamAssassin/Plugin/DKIM.pm
  line 474.

If there will ever be a 3.2.6, the attached quick patch just
comments out the dbg call, it is non-essential.

Note that 3.3 is unaffected by the change in Mail::DKIM 0.34, it
already uses its different API to fetch author signing domain policy.


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to