https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7140
Bug ID: 7140
Summary: DKIM/SPF Insecure dependency in require
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: spamassassin
Assignee: [email protected]
Reporter: [email protected]
Receiving "Insecure dependency in require while running with -T switch at
/usr/share/perl5/vendor_perl/Mail/SPF/Server.pm line 28." when running
spamassassin from the command-line on an mbox:
# spamassassin -t --mbox -D < mymbox 2>&1 | less
Feb 15 18:44:41.340 [16434] dbg: spf: checking to see if the message has a
Received-SPF header that we can use
Feb 15 18:44:41.383 [16434] dbg: spf: cannot load Mail::SPF module or create
Mail::SPF::Server object: Insecure dependency in require while running with -T
switch at /usr/share/perl5/vendor_perl/Mail/SPF/Server.pm line 28.
Feb 15 18:44:41.383 [16434] dbg: spf: [...] BEGIN failed--compilation aborted
at /usr/share/perl5/vendor_perl/Mail/SPF/Server.pm line 28.
Feb 15 18:44:41.383 [16434] dbg: spf: [...] Compilation failed in require at
/usr/share/perl5/vendor_perl/Mail/SPF.pm line 29.
Feb 15 18:44:41.383 [16434] dbg: spf: [...] BEGIN failed--compilation aborted
at /usr/share/perl5/vendor_perl/Mail/SPF.pm line 29.
Feb 15 18:44:41.383 [16434] dbg: spf: [...] Compilation failed in require at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/SPF.pm line 500.
Feb 15 18:44:41.383 [16434] dbg: spf: attempting to use legacy Mail::SPF::Query
module instead
Feb 15 18:44:41.383 [16434] dbg: spf: cannot load Mail::SPF::Query module:
Can't locate Mail/SPF/Query.pm in @INC (you may need to install the
Mail::SPF::Query module) (@INC contains: lib /usr/share/perl5/vendor_perl
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5) at
/usr/share/perl5/vendor_perl/Mail/SpamAssassin/Plugin/SPF.pm line 528.
Feb 15 18:44:41.383 [16434] dbg: spf: one of Mail::SPF or Mail::SPF::Query is
required for SPF checks, SPF checks disabled
However, if I run it on a non-mbox message, it invariably passes without any
problems loading SPF and DKIM support.
Feb 15 18:54:55.121 [22868] dbg: spf: checking to see if the message has a
Received-SPF header that we can use
Feb 15 18:54:55.175 [22868] dbg: spf: using Mail::SPF for SPF checks
Feb 15 18:54:55.176 [22868] dbg: spf: already checked for Received-SPF headers,
proceeding with DNS based checks
Feb 15 18:54:55.224 [22868] dbg: rules: ran eval rule SPF_HELO_PASS ======> got
hit (1)
Feb 15 18:54:54.923 [22868] dbg: rules: ran header rule __DKIM_EXISTS ======>
got hit: "<YES>"
Feb 15 18:54:54.923 [22868] dbg: rules: ran header rule __HAS_DKIM_SIGHD
======> got hit: "<YES>"
Feb 15 18:54:55.090 [22868] dbg: dkim: using Mail::DKIM version 0.4
Feb 15 18:54:55.113 [22868] dbg: dkim: VALID DKIM, [email protected],
d=sendreceivenow.com, s=lm2, a=rsa-sha256, c=relaxed/relaxed, key_bits=1024,
pass
Looks like it may be related to this:
http://www.gossamer-threads.com/lists/spamassassin/users/190609?do=post_view_threaded#190609
Bug originated with this post:
http://www.gossamer-threads.com/lists/spamassassin/users/191192?search_string=dkim%20dependency;#191192
--
You are receiving this mail because:
You are the assignee for the bug.