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

Alex R. <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Alex R. <[email protected]> 2010-12-22 12:39:27 
UTC ---
I recently encountered this same problem, also from a gmail test message. As
suggested in comment 1, I ran this:

spamassassin -t -D dkim <0.msg

Debug output then began with:

Dec 22 11:31:37.346 [24116] dbg: dkim: cannot load Mail::DKIM module, DKIM
checks disabled: Can't locate Mail/DKIM/Verifier.pm in @INC (@INC contains:
/usr/share/perl5 /etc/perl /usr/local/lib/perl/5.10.1
/usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/lib/perl/5.10
/usr/share/perl/5.10 /usr/local/lib/site_perl) at
/usr/share/perl5/Mail/SpamAssassin/Plugin/DKIM.pm line 584

...but the content analysis says:

 0.0 T_DKIM_INVALID         DKIM-Signature header exists but is not valid

It looks like the T_DKIM_INVALID rule should silently fail if it can't load
Mail::DKIM, rather than claiming that the signature is not valid.

I can verify that by installing Mail::DKIM from CPAN, I get these results:

-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from
author's
                            domain
 0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily
valid
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature

T_DKIM_INVALID shouldn't trip if Mail::DKIM isn't installed, but at least we
know the reporter's problem is from a missing CPAN module.

-- 
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